term.go (1674B)
1 // Generated automatically. DO NOT HAND-EDIT. 2 3 package emacs 4 5 import "github.com/gdamore/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 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 EnterCA: "\x1b7\x1b[?47h", 38 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 39 AttrOff: "\x1b[m", 40 Underline: "\x1b[4m", 41 Bold: "\x1b[1m", 42 Blink: "\x1b[5m", 43 Reverse: "\x1b[7m", 44 SetFg: "\x1b[%p1%{30}%+%dm", 45 SetBg: "\x1b[%p1%'('%+%dm", 46 SetFgBg: "\x1b[%p1%{30}%+%d;%p2%'('%+%dm", 47 ResetFgBg: "\x1b[39;49m", 48 PadChar: "\x00", 49 SetCursor: "\x1b[%i%p1%d;%p2%dH", 50 CursorBack1: "\b", 51 CursorUp1: "\x1b[A", 52 KeyUp: "\x1bOA", 53 KeyDown: "\x1bOB", 54 KeyRight: "\x1bOC", 55 KeyLeft: "\x1bOD", 56 KeyInsert: "\x1b[2~", 57 KeyDelete: "\x1b[3~", 58 KeyBackspace: "\x7f", 59 KeyHome: "\x1b[1~", 60 KeyEnd: "\x1b[4~", 61 KeyPgUp: "\x1b[5~", 62 KeyPgDn: "\x1b[6~", 63 AutoMargin: true, 64 }) 65 }