Debian Codegraph @

debian/vendor/github.com/micro-editor/tcell/v2/terminfo/g/gnome/term.go

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