term.go (4469B)
1 // Generated automatically. DO NOT HAND-EDIT. 2 3 package gnome 4 5 import "github.com/gdamore/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 EnableAutoMargin: "\x1b[?7h", 39 DisableAutoMargin: "\x1b[?7l", 40 Mouse: "\x1b[M", 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: "\x7f", 51 KeyHome: "\x1bOH", 52 KeyEnd: "\x1bOF", 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 KeyBacktab: "\x1b[Z", 68 Modifiers: 1, 69 AutoMargin: true, 70 XTermLike: true, 71 }) 72 73 // GNOME Terminal with xterm 256-colors 74 terminfo.AddTerminfo(&terminfo.Terminfo{ 75 Name: "gnome-256color", 76 Columns: 80, 77 Lines: 24, 78 Colors: 256, 79 Bell: "\a", 80 Clear: "\x1b[H\x1b[2J", 81 EnterCA: "\x1b7\x1b[?47h", 82 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 83 ShowCursor: "\x1b[?25h", 84 HideCursor: "\x1b[?25l", 85 AttrOff: "\x1b[0m\x0f", 86 Underline: "\x1b[4m", 87 Bold: "\x1b[1m", 88 Dim: "\x1b[2m", 89 Italic: "\x1b[3m", 90 Reverse: "\x1b[7m", 91 EnterKeypad: "\x1b[?1h\x1b=", 92 ExitKeypad: "\x1b[?1l\x1b>", 93 SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", 94 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", 95 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", 96 ResetFgBg: "\x1b[39;49m", 97 PadChar: "\x00", 98 AltChars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 99 EnterAcs: "\x0e", 100 ExitAcs: "\x0f", 101 EnableAcs: "\x1b)0", 102 EnableAutoMargin: "\x1b[?7h", 103 DisableAutoMargin: "\x1b[?7l", 104 Mouse: "\x1b[M", 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: "\x7f", 115 KeyHome: "\x1bOH", 116 KeyEnd: "\x1bOF", 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 KeyBacktab: "\x1b[Z", 132 Modifiers: 1, 133 AutoMargin: true, 134 XTermLike: true, 135 }) 136 }