41 lines
1.1 KiB
Go
41 lines
1.1 KiB
Go
|
// Generated automatically. DO NOT HAND-EDIT.
|
||
|
|
||
|
package terminfo
|
||
|
|
||
|
func init() {
|
||
|
// ansi/pc-term compatible with color
|
||
|
AddTerminfo(&Terminfo{
|
||
|
Name: "ansi",
|
||
|
Columns: 80,
|
||
|
Lines: 24,
|
||
|
Colors: 8,
|
||
|
Bell: "\a",
|
||
|
Clear: "\x1b[H\x1b[J",
|
||
|
AttrOff: "\x1b[0;10m",
|
||
|
Underline: "\x1b[4m",
|
||
|
Bold: "\x1b[1m",
|
||
|
Italic: "\x1b[3m",
|
||
|
Strikethrough: "\x1b[9m",
|
||
|
Blink: "\x1b[5m",
|
||
|
Reverse: "\x1b[7m",
|
||
|
SetFg: "\x1b[3%p1%dm",
|
||
|
SetBg: "\x1b[4%p1%dm",
|
||
|
SetFgBg: "\x1b[3%p1%d;4%p2%dm",
|
||
|
PadChar: "\x00",
|
||
|
AltChars: "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe",
|
||
|
EnterAcs: "\x1b[11m",
|
||
|
ExitAcs: "\x1b[10m",
|
||
|
SetCursor: "\x1b[%i%p1%d;%p2%dH",
|
||
|
CursorBack1: "\x1b[D",
|
||
|
CursorUp1: "\x1b[A",
|
||
|
KeyUp: "\x1b[A",
|
||
|
KeyDown: "\x1b[B",
|
||
|
KeyRight: "\x1b[C",
|
||
|
KeyLeft: "\x1b[D",
|
||
|
KeyInsert: "\x1b[L",
|
||
|
KeyBackspace: "\b",
|
||
|
KeyHome: "\x1b[H",
|
||
|
KeyBacktab: "\x1b[Z",
|
||
|
})
|
||
|
}
|