2017-11-24 04:31:44 +08:00
|
|
|
// Generated automatically. DO NOT HAND-EDIT.
|
|
|
|
|
2019-07-24 09:54:20 +08:00
|
|
|
package hpterm
|
|
|
|
|
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
|
|
|
|
2024-03-04 00:27:13 +08:00
|
|
|
// HP X11 terminal emulator (old)
|
2019-07-24 09:54:20 +08:00
|
|
|
terminfo.AddTerminfo(&terminfo.Terminfo{
|
2017-11-24 04:31:44 +08:00
|
|
|
Name: "hpterm",
|
|
|
|
Aliases: []string{"X-hpterm"},
|
|
|
|
Columns: 80,
|
|
|
|
Lines: 24,
|
|
|
|
Bell: "\a",
|
|
|
|
Clear: "\x1b&a0y0C\x1bJ",
|
2024-03-04 00:27:13 +08:00
|
|
|
AttrOff: "\x1b&d@\x0f",
|
2017-11-24 04:31:44 +08:00
|
|
|
Underline: "\x1b&dD",
|
|
|
|
Bold: "\x1b&dB",
|
|
|
|
Dim: "\x1b&dH",
|
|
|
|
Reverse: "\x1b&dB",
|
|
|
|
EnterKeypad: "\x1b&s1A",
|
|
|
|
ExitKeypad: "\x1b&s0A",
|
|
|
|
PadChar: "\x00",
|
|
|
|
EnterAcs: "\x0e",
|
|
|
|
ExitAcs: "\x0f",
|
|
|
|
SetCursor: "\x1b&a%p1%dy%p2%dC",
|
|
|
|
CursorBack1: "\b",
|
|
|
|
CursorUp1: "\x1bA",
|
|
|
|
KeyUp: "\x1bA",
|
|
|
|
KeyDown: "\x1bB",
|
|
|
|
KeyRight: "\x1bC",
|
|
|
|
KeyLeft: "\x1bD",
|
|
|
|
KeyInsert: "\x1bQ",
|
|
|
|
KeyDelete: "\x1bP",
|
|
|
|
KeyBackspace: "\b",
|
|
|
|
KeyHome: "\x1bh",
|
|
|
|
KeyPgUp: "\x1bV",
|
|
|
|
KeyPgDn: "\x1bU",
|
|
|
|
KeyF1: "\x1bp",
|
|
|
|
KeyF2: "\x1bq",
|
|
|
|
KeyF3: "\x1br",
|
|
|
|
KeyF4: "\x1bs",
|
|
|
|
KeyF5: "\x1bt",
|
|
|
|
KeyF6: "\x1bu",
|
|
|
|
KeyF7: "\x1bv",
|
|
|
|
KeyF8: "\x1bw",
|
|
|
|
KeyClear: "\x1bJ",
|
2021-05-19 14:17:00 +08:00
|
|
|
AutoMargin: true,
|
2017-11-24 04:31:44 +08:00
|
|
|
})
|
|
|
|
}
|