1// Generated automatically.  DO NOT HAND-EDIT.
2
3package emacs
4
5import "github.com/gdamore/tcell/v2/terminfo"
6
7func 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		AutoMargin:  true,
27	})
28
29	// Emacs term.el terminal emulator term-protocol-version 0.96
30	terminfo.AddTerminfo(&terminfo.Terminfo{
31		Name:         "eterm-color",
32		Columns:      80,
33		Lines:        24,
34		Colors:       8,
35		Bell:         "\a",
36		Clear:        "\x1b[H\x1b[J",
37		AttrOff:      "\x1b[m",
38		Underline:    "\x1b[4m",
39		Bold:         "\x1b[1m",
40		Blink:        "\x1b[5m",
41		Reverse:      "\x1b[7m",
42		SetFg:        "\x1b[%p1%{30}%+%dm",
43		SetBg:        "\x1b[%p1%'('%+%dm",
44		SetFgBg:      "\x1b[%p1%{30}%+%d;%p2%'('%+%dm",
45		ResetFgBg:    "\x1b[39;49m",
46		PadChar:      "\x00",
47		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
48		CursorBack1:  "\b",
49		CursorUp1:    "\x1b[A",
50		KeyUp:        "\x1bOA",
51		KeyDown:      "\x1bOB",
52		KeyRight:     "\x1bOC",
53		KeyLeft:      "\x1bOD",
54		KeyInsert:    "\x1b[2~",
55		KeyDelete:    "\x1b[3~",
56		KeyBackspace: "\u007f",
57		KeyHome:      "\x1b[1~",
58		KeyEnd:       "\x1b[4~",
59		KeyPgUp:      "\x1b[5~",
60		KeyPgDn:      "\x1b[6~",
61		AutoMargin:   true,
62	})
63}
64