Debian Codegraph @

debian/vendor/github.com/micro-editor/tcell/v2/terminfo/s/simpleterm/term.go

raw
1 // Generated automatically. DO NOT HAND-EDIT.
2
3 package simpleterm
4
5 import "github.com/micro-editor/tcell/v2/terminfo"
6
7 func init() {
8
9 // simpleterm
10 terminfo.AddTerminfo(&terminfo.Terminfo{
11 Name: "st",
12 Columns: 80,
13 Lines: 24,
14 Colors: 8,
15 Bell: "\a",
16 Clear: "\x1b[H\x1b[2J",
17 EnterCA: "\x1b[?1049h",
18 ExitCA: "\x1b[?1049l",
19 ShowCursor: "\x1b[?12l\x1b[?25h",
20 HideCursor: "\x1b[?25l",
21 AttrOff: "\x1b[0m",
22 Underline: "\x1b[4m",
23 Bold: "\x1b[1m",
24 Dim: "\x1b[2m",
25 Italic: "\x1b[3m",
26 Blink: "\x1b[5m",
27 Reverse: "\x1b[7m",
28 EnterKeypad: "\x1b[?1h\x1b=",
29 ExitKeypad: "\x1b[?1l\x1b>",
30 SetFg: "\x1b[3%p1%dm",
31 SetBg: "\x1b[4%p1%dm",
32 SetFgBg: "\x1b[3%p1%d;4%p2%dm",
33 ResetFgBg: "\x1b[39;49m",
34 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
35 EnterAcs: "\x1b(0",
36 ExitAcs: "\x1b(B",
37 EnableAcs: "\x1b)0",
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: "\x1b[1~",
52 KeyEnd: "\x1b[4~",
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 KeyClear: "\x1b[3;5~",
68 KeyBacktab: "\x1b[Z",
69 Modifiers: 1,
70 TrueColor: true,
71 })
72
73 // simpleterm with 256 colors
74 terminfo.AddTerminfo(&terminfo.Terminfo{
75 Name: "st-256color",
76 Columns: 80,
77 Lines: 24,
78 Colors: 256,
79 Bell: "\a",
80 Clear: "\x1b[H\x1b[2J",
81 EnterCA: "\x1b[?1049h",
82 ExitCA: "\x1b[?1049l",
83 ShowCursor: "\x1b[?12l\x1b[?25h",
84 HideCursor: "\x1b[?25l",
85 AttrOff: "\x1b[0m",
86 Underline: "\x1b[4m",
87 Bold: "\x1b[1m",
88 Dim: "\x1b[2m",
89 Italic: "\x1b[3m",
90 Blink: "\x1b[5m",
91 Reverse: "\x1b[7m",
92 EnterKeypad: "\x1b[?1h\x1b=",
93 ExitKeypad: "\x1b[?1l\x1b>",
94 SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m",
95 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
96 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",
97 ResetFgBg: "\x1b[39;49m",
98 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
99 EnterAcs: "\x1b(0",
100 ExitAcs: "\x1b(B",
101 EnableAcs: "\x1b)0",
102 StrikeThrough: "\x1b[9m",
103 Mouse: "\x1b[M",
104 MouseMode: "%?%p1%{1}%=%t%'h'%Pa%e%'l'%Pa%;\x1b[?1000%ga%c\x1b[?1002%ga%c\x1b[?1006%ga%c",
105 SetCursor: "\x1b[%i%p1%d;%p2%dH",
106 CursorBack1: "\b",
107 CursorUp1: "\x1b[A",
108 KeyUp: "\x1bOA",
109 KeyDown: "\x1bOB",
110 KeyRight: "\x1bOC",
111 KeyLeft: "\x1bOD",
112 KeyInsert: "\x1b[2~",
113 KeyDelete: "\x1b[3~",
114 KeyBackspace: "\u007f",
115 KeyHome: "\x1b[1~",
116 KeyEnd: "\x1b[4~",
117 KeyPgUp: "\x1b[5~",
118 KeyPgDn: "\x1b[6~",
119 KeyF1: "\x1bOP",
120 KeyF2: "\x1bOQ",
121 KeyF3: "\x1bOR",
122 KeyF4: "\x1bOS",
123 KeyF5: "\x1b[15~",
124 KeyF6: "\x1b[17~",
125 KeyF7: "\x1b[18~",
126 KeyF8: "\x1b[19~",
127 KeyF9: "\x1b[20~",
128 KeyF10: "\x1b[21~",
129 KeyF11: "\x1b[23~",
130 KeyF12: "\x1b[24~",
131 KeyClear: "\x1b[3;5~",
132 KeyBacktab: "\x1b[Z",
133 Modifiers: 1,
134 TrueColor: true,
135 })
136 }