| 1 |
// Generated automatically. DO NOT HAND-EDIT. |
| 2 |
|
| 3 |
package xterm |
| 4 |
|
| 5 |
import "github.com/micro-editor/tcell/v2/terminfo" |
| 6 |
|
| 7 |
func init() { |
| 8 |
|
| 9 |
// X11 terminal emulator |
| 10 |
terminfo.AddTerminfo(&terminfo.Terminfo{ |
| 11 |
Name: "xterm", |
| 12 |
Aliases: []string{"xterm-debian"}, |
| 13 |
Columns: 80, |
| 14 |
Lines: 24, |
| 15 |
Colors: 8, |
| 16 |
Bell: "\a", |
| 17 |
Clear: "\x1b[H\x1b[2J", |
| 18 |
EnterCA: "\x1b[?1049h\x1b[22;0;0t", |
| 19 |
ExitCA: "\x1b[?1049l\x1b[23;0;0t", |
| 20 |
ShowCursor: "\x1b[?12l\x1b[?25h", |
| 21 |
HideCursor: "\x1b[?25l", |
| 22 |
AttrOff: "\x1b(B\x1b[m", |
| 23 |
Underline: "\x1b[4m", |
| 24 |
Bold: "\x1b[1m", |
| 25 |
Dim: "\x1b[2m", |
| 26 |
Italic: "\x1b[3m", |
| 27 |
Blink: "\x1b[5m", |
| 28 |
Reverse: "\x1b[7m", |
| 29 |
EnterKeypad: "\x1b[?1h\x1b=", |
| 30 |
ExitKeypad: "\x1b[?1l\x1b>", |
| 31 |
SetFg: "\x1b[3%p1%dm", |
| 32 |
SetBg: "\x1b[4%p1%dm", |
| 33 |
SetFgBg: "\x1b[3%p1%d;4%p2%dm", |
| 34 |
ResetFgBg: "\x1b[39;49m", |
| 35 |
AltChars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", |
| 36 |
EnterAcs: "\x1b(0", |
| 37 |
ExitAcs: "\x1b(B", |
| 38 |
StrikeThrough: "\x1b[9m", |
| 39 |
Mouse: "\x1b[M", |
| 40 |
MouseMode: "%?%p1%{1}%=%t%'h'%Pa%e%'l'%Pa%;\x1b[?1000%ga%c\x1b[?1002%ga%c\x1b[?1006%ga%c", |
| 41 |
SetCursor: "\x1b[%i%p1%d;%p2%dH", |
| 42 |
CursorBack1: "\b", |
| 43 |
CursorUp1: "\x1b[A", |
| 44 |
KeyUp: "\x1bOA", |
| 45 |
KeyDown: "\x1bOB", |
| 46 |
KeyRight: "\x1bOC", |
| 47 |
KeyLeft: "\x1bOD", |
| 48 |
KeyInsert: "\x1b[2~", |
| 49 |
KeyDelete: "\x1b[3~", |
| 50 |
KeyBackspace: "\u007f", |
| 51 |
KeyHome: "\x1bOH", |
| 52 |
KeyEnd: "\x1bOF", |
| 53 |
KeyPgUp: "\x1b[5~", |
| 54 |
KeyPgDn: "\x1b[6~", |
| 55 |
KeyF1: "\x1bOP", |
| 56 |
KeyF2: "\x1bOQ", |
| 57 |
KeyF3: "\x1bOR", |
| 58 |
KeyF4: "\x1bOS", |
| 59 |
KeyF5: "\x1b[15~", |
| 60 |
KeyF6: "\x1b[17~", |
| 61 |
KeyF7: "\x1b[18~", |
| 62 |
KeyF8: "\x1b[19~", |
| 63 |
KeyF9: "\x1b[20~", |
| 64 |
KeyF10: "\x1b[21~", |
| 65 |
KeyF11: "\x1b[23~", |
| 66 |
KeyF12: "\x1b[24~", |
| 67 |
KeyBacktab: "\x1b[Z", |
| 68 |
Modifiers: 1, |
| 69 |
}) |
| 70 |
|
| 71 |
// xterm with 88 colors |
| 72 |
terminfo.AddTerminfo(&terminfo.Terminfo{ |
| 73 |
Name: "xterm-88color", |
| 74 |
Columns: 80, |
| 75 |
Lines: 24, |
| 76 |
Colors: 88, |
| 77 |
Bell: "\a", |
| 78 |
Clear: "\x1b[H\x1b[2J", |
| 79 |
EnterCA: "\x1b[?1049h\x1b[22;0;0t", |
| 80 |
ExitCA: "\x1b[?1049l\x1b[23;0;0t", |
| 81 |
ShowCursor: "\x1b[?12l\x1b[?25h", |
| 82 |
HideCursor: "\x1b[?25l", |
| 83 |
AttrOff: "\x1b(B\x1b[m", |
| 84 |
Underline: "\x1b[4m", |
| 85 |
Bold: "\x1b[1m", |
| 86 |
Dim: "\x1b[2m", |
| 87 |
Italic: "\x1b[3m", |
| 88 |
Blink: "\x1b[5m", |
| 89 |
Reverse: "\x1b[7m", |
| 90 |
EnterKeypad: "\x1b[?1h\x1b=", |
| 91 |
ExitKeypad: "\x1b[?1l\x1b>", |
| 92 |
SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", |
| 93 |
SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", |
| 94 |
SetFgBg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;;%?%p2%{8}%<%t4%p2%d%e%p2%{16}%<%t10%p2%{8}%-%d%e48;5;%p2%d%;m", |
| 95 |
ResetFgBg: "\x1b[39;49m", |
| 96 |
AltChars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", |
| 97 |
EnterAcs: "\x1b(0", |
| 98 |
ExitAcs: "\x1b(B", |
| 99 |
StrikeThrough: "\x1b[9m", |
| 100 |
Mouse: "\x1b[M", |
| 101 |
MouseMode: "%?%p1%{1}%=%t%'h'%Pa%e%'l'%Pa%;\x1b[?1000%ga%c\x1b[?1002%ga%c\x1b[?1006%ga%c", |
| 102 |
SetCursor: "\x1b[%i%p1%d;%p2%dH", |
| 103 |
CursorBack1: "\b", |
| 104 |
CursorUp1: "\x1b[A", |
| 105 |
KeyUp: "\x1bOA", |
| 106 |
KeyDown: "\x1bOB", |
| 107 |
KeyRight: "\x1bOC", |
| 108 |
KeyLeft: "\x1bOD", |
| 109 |
KeyInsert: "\x1b[2~", |
| 110 |
KeyDelete: "\x1b[3~", |
| 111 |
KeyBackspace: "\u007f", |
| 112 |
KeyHome: "\x1bOH", |
| 113 |
KeyEnd: "\x1bOF", |
| 114 |
KeyPgUp: "\x1b[5~", |
| 115 |
KeyPgDn: "\x1b[6~", |
| 116 |
KeyF1: "\x1bOP", |
| 117 |
KeyF2: "\x1bOQ", |
| 118 |
KeyF3: "\x1bOR", |
| 119 |
KeyF4: "\x1bOS", |
| 120 |
KeyF5: "\x1b[15~", |
| 121 |
KeyF6: "\x1b[17~", |
| 122 |
KeyF7: "\x1b[18~", |
| 123 |
KeyF8: "\x1b[19~", |
| 124 |
KeyF9: "\x1b[20~", |
| 125 |
KeyF10: "\x1b[21~", |
| 126 |
KeyF11: "\x1b[23~", |
| 127 |
KeyF12: "\x1b[24~", |
| 128 |
KeyBacktab: "\x1b[Z", |
| 129 |
Modifiers: 1, |
| 130 |
}) |
| 131 |
|
| 132 |
// xterm with 256 colors |
| 133 |
terminfo.AddTerminfo(&terminfo.Terminfo{ |
| 134 |
Name: "xterm-256color", |
| 135 |
Columns: 80, |
| 136 |
Lines: 24, |
| 137 |
Colors: 256, |
| 138 |
Bell: "\a", |
| 139 |
Clear: "\x1b[H\x1b[2J", |
| 140 |
EnterCA: "\x1b[?1049h\x1b[22;0;0t", |
| 141 |
ExitCA: "\x1b[?1049l\x1b[23;0;0t", |
| 142 |
ShowCursor: "\x1b[?12l\x1b[?25h", |
| 143 |
HideCursor: "\x1b[?25l", |
| 144 |
AttrOff: "\x1b(B\x1b[m", |
| 145 |
Underline: "\x1b[4m", |
| 146 |
Bold: "\x1b[1m", |
| 147 |
Dim: "\x1b[2m", |
| 148 |
Italic: "\x1b[3m", |
| 149 |
Blink: "\x1b[5m", |
| 150 |
Reverse: "\x1b[7m", |
| 151 |
EnterKeypad: "\x1b[?1h\x1b=", |
| 152 |
ExitKeypad: "\x1b[?1l\x1b>", |
| 153 |
SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", |
| 154 |
SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", |
| 155 |
SetFgBg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;;%?%p2%{8}%<%t4%p2%d%e%p2%{16}%<%t10%p2%{8}%-%d%e48;5;%p2%d%;m", |
| 156 |
ResetFgBg: "\x1b[39;49m", |
| 157 |
AltChars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", |
| 158 |
EnterAcs: "\x1b(0", |
| 159 |
ExitAcs: "\x1b(B", |
| 160 |
StrikeThrough: "\x1b[9m", |
| 161 |
Mouse: "\x1b[M", |
| 162 |
MouseMode: "%?%p1%{1}%=%t%'h'%Pa%e%'l'%Pa%;\x1b[?1000%ga%c\x1b[?1002%ga%c\x1b[?1006%ga%c", |
| 163 |
SetCursor: "\x1b[%i%p1%d;%p2%dH", |
| 164 |
CursorBack1: "\b", |
| 165 |
CursorUp1: "\x1b[A", |
| 166 |
KeyUp: "\x1bOA", |
| 167 |
KeyDown: "\x1bOB", |
| 168 |
KeyRight: "\x1bOC", |
| 169 |
KeyLeft: "\x1bOD", |
| 170 |
KeyInsert: "\x1b[2~", |
| 171 |
KeyDelete: "\x1b[3~", |
| 172 |
KeyBackspace: "\u007f", |
| 173 |
KeyHome: "\x1bOH", |
| 174 |
KeyEnd: "\x1bOF", |
| 175 |
KeyPgUp: "\x1b[5~", |
| 176 |
KeyPgDn: "\x1b[6~", |
| 177 |
KeyF1: "\x1bOP", |
| 178 |
KeyF2: "\x1bOQ", |
| 179 |
KeyF3: "\x1bOR", |
| 180 |
KeyF4: "\x1bOS", |
| 181 |
KeyF5: "\x1b[15~", |
| 182 |
KeyF6: "\x1b[17~", |
| 183 |
KeyF7: "\x1b[18~", |
| 184 |
KeyF8: "\x1b[19~", |
| 185 |
KeyF9: "\x1b[20~", |
| 186 |
KeyF10: "\x1b[21~", |
| 187 |
KeyF11: "\x1b[23~", |
| 188 |
KeyF12: "\x1b[24~", |
| 189 |
KeyBacktab: "\x1b[Z", |
| 190 |
Modifiers: 1, |
| 191 |
}) |
| 192 |
} |