Debian Codegraph @

debian/vendor/github.com/micro-editor/tcell/v2/terminfo/e/emacs/term.go

raw
1 // Generated automatically. DO NOT HAND-EDIT.
2
3 package emacs
4
5 import "github.com/micro-editor/tcell/v2/terminfo"
6
7 func init() {
8
9 // gnu emacs term.el terminal emulation
10 terminfo.AddTerminfo(&terminfo.Terminfo{
11 Name: "eterm",
12 Columns: 80,
13 Lines: 24,
14 Bell: "\a",
15 Clear: "\x1b[H\x1b[J",
16 EnterCA: "\x1b7\x1b[?47h",
17 ExitCA: "\x1b[2J\x1b[?47l\x1b8",
18 AttrOff: "\x1b[m",
19 Underline: "\x1b[4m",
20 Bold: "\x1b[1m",
21 Reverse: "\x1b[7m",
22 PadChar: "\x00",
23 SetCursor: "\x1b[%i%p1%d;%p2%dH",
24 CursorBack1: "\b",
25 CursorUp1: "\x1b[A",
26 })
27
28 // Emacs term.el terminal emulator term-protocol-version 0.96
29 terminfo.AddTerminfo(&terminfo.Terminfo{
30 Name: "eterm-color",
31 Columns: 80,
32 Lines: 24,
33 Colors: 8,
34 Bell: "\a",
35 Clear: "\x1b[H\x1b[J",
36 AttrOff: "\x1b[m",
37 Underline: "\x1b[4m",
38 Bold: "\x1b[1m",
39 Blink: "\x1b[5m",
40 Reverse: "\x1b[7m",
41 SetFg: "\x1b[%p1%{30}%+%dm",
42 SetBg: "\x1b[%p1%'('%+%dm",
43 SetFgBg: "\x1b[%p1%{30}%+%d;%p2%'('%+%dm",
44 ResetFgBg: "\x1b[39;49m",
45 PadChar: "\x00",
46 SetCursor: "\x1b[%i%p1%d;%p2%dH",
47 CursorBack1: "\b",
48 CursorUp1: "\x1b[A",
49 KeyUp: "\x1bOA",
50 KeyDown: "\x1bOB",
51 KeyRight: "\x1bOC",
52 KeyLeft: "\x1bOD",
53 KeyInsert: "\x1b[2~",
54 KeyDelete: "\x1b[3~",
55 KeyBackspace: "\u007f",
56 KeyHome: "\x1b[1~",
57 KeyEnd: "\x1b[4~",
58 KeyPgUp: "\x1b[5~",
59 KeyPgDn: "\x1b[6~",
60 })
61 }