2017-11-24 04:31:44 +08:00
|
|
|
// Generated automatically. DO NOT HAND-EDIT.
|
|
|
|
|
2019-07-24 09:54:20 +08:00
|
|
|
package vt102
|
|
|
|
|
2020-08-26 07:20:58 +08:00
|
|
|
import "github.com/gdamore/tcell/v2/terminfo"
|
2017-11-24 04:31:44 +08:00
|
|
|
|
|
|
|
func init() {
|
2019-07-24 09:54:20 +08:00
|
|
|
|
2017-11-24 04:31:44 +08:00
|
|
|
// dec vt102
|
2019-07-24 09:54:20 +08:00
|
|
|
terminfo.AddTerminfo(&terminfo.Terminfo{
|
2017-11-24 04:31:44 +08:00
|
|
|
Name: "vt102",
|
|
|
|
Columns: 80,
|
|
|
|
Lines: 24,
|
|
|
|
Bell: "\a",
|
|
|
|
Clear: "\x1b[H\x1b[J$<50>",
|
2017-12-21 14:07:14 +08:00
|
|
|
AttrOff: "\x1b[m\x0f$<2>",
|
2017-11-24 04:31:44 +08:00
|
|
|
Underline: "\x1b[4m$<2>",
|
|
|
|
Bold: "\x1b[1m$<2>",
|
|
|
|
Blink: "\x1b[5m$<2>",
|
|
|
|
Reverse: "\x1b[7m$<2>",
|
|
|
|
EnterKeypad: "\x1b[?1h\x1b=",
|
|
|
|
ExitKeypad: "\x1b[?1l\x1b>",
|
|
|
|
PadChar: "\x00",
|
|
|
|
AltChars: "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
|
|
|
|
EnterAcs: "\x0e",
|
|
|
|
ExitAcs: "\x0f",
|
|
|
|
EnableAcs: "\x1b(B\x1b)0",
|
|
|
|
SetCursor: "\x1b[%i%p1%d;%p2%dH$<5>",
|
|
|
|
CursorBack1: "\b",
|
|
|
|
CursorUp1: "\x1b[A$<2>",
|
|
|
|
KeyUp: "\x1bOA",
|
|
|
|
KeyDown: "\x1bOB",
|
|
|
|
KeyRight: "\x1bOC",
|
|
|
|
KeyLeft: "\x1bOD",
|
|
|
|
KeyBackspace: "\b",
|
|
|
|
KeyF1: "\x1bOP",
|
|
|
|
KeyF2: "\x1bOQ",
|
|
|
|
KeyF3: "\x1bOR",
|
|
|
|
KeyF4: "\x1bOS",
|
|
|
|
KeyF5: "\x1bOt",
|
|
|
|
KeyF6: "\x1bOu",
|
|
|
|
KeyF7: "\x1bOv",
|
|
|
|
KeyF8: "\x1bOl",
|
|
|
|
KeyF9: "\x1bOw",
|
|
|
|
KeyF10: "\x1bOx",
|
2021-05-19 14:17:00 +08:00
|
|
|
AutoMargin: true,
|
2017-11-24 04:31:44 +08:00
|
|
|
})
|
|
|
|
}
|