term.go (4015B)
1 // Generated automatically. DO NOT HAND-EDIT. 2 3 package simpleterm 4 5 import "github.com/gdamore/tcell/v2/terminfo" 6 7 func init() { 8 9 // aka simpleterm 10 terminfo.AddTerminfo(&terminfo.Terminfo{ 11 Name: "st", 12 Aliases: []string{"stterm"}, 13 Columns: 80, 14 Lines: 24, 15 Colors: 8, 16 Bell: "\a", 17 Clear: "\x1b[H\x1b[2J", 18 EnterCA: "\x1b[?1049h", 19 ExitCA: "\x1b[?1049l", 20 ShowCursor: "\x1b[?25h", 21 HideCursor: "\x1b[?25l", 22 AttrOff: "\x1b[0m", 23 Underline: "\x1b[4m", 24 Bold: "\x1b[1m", 25 Dim: "\x1b[2m", 26 Italic: "\x1b[3m", 27 Blink: "\x1b[5m", 28 Reverse: "\x1b[7m", 29 EnterKeypad: "\x1b[?1h\x1b=", 30 ExitKeypad: "\x1b[?1l\x1b>", 31 SetFg: "\x1b[3%p1%dm", 32 SetBg: "\x1b[4%p1%dm", 33 SetFgBg: "\x1b[3%p1%d;4%p2%dm", 34 ResetFgBg: "\x1b[39;49m", 35 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 36 EnterAcs: "\x1b(0", 37 ExitAcs: "\x1b(B", 38 EnableAcs: "\x1b)0", 39 StrikeThrough: "\x1b[9m", 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: "\x1b[1~", 52 KeyEnd: "\x1b[4~", 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 KeyClear: "\x1b[3;5~", 68 Modifiers: 1, 69 AutoMargin: true, 70 XTermLike: true, 71 }) 72 73 // simpleterm with 256 colors 74 terminfo.AddTerminfo(&terminfo.Terminfo{ 75 Name: "st-256color", 76 Aliases: []string{"stterm-256color"}, 77 Columns: 80, 78 Lines: 24, 79 Colors: 256, 80 Bell: "\a", 81 Clear: "\x1b[H\x1b[2J", 82 EnterCA: "\x1b[?1049h", 83 ExitCA: "\x1b[?1049l", 84 ShowCursor: "\x1b[?25h", 85 HideCursor: "\x1b[?25l", 86 AttrOff: "\x1b[0m", 87 Underline: "\x1b[4m", 88 Bold: "\x1b[1m", 89 Dim: "\x1b[2m", 90 Italic: "\x1b[3m", 91 Blink: "\x1b[5m", 92 Reverse: "\x1b[7m", 93 EnterKeypad: "\x1b[?1h\x1b=", 94 ExitKeypad: "\x1b[?1l\x1b>", 95 SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", 96 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", 97 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", 98 ResetFgBg: "\x1b[39;49m", 99 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 100 EnterAcs: "\x1b(0", 101 ExitAcs: "\x1b(B", 102 EnableAcs: "\x1b)0", 103 StrikeThrough: "\x1b[9m", 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: "\x1b[1~", 116 KeyEnd: "\x1b[4~", 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 KeyClear: "\x1b[3;5~", 132 Modifiers: 1, 133 AutoMargin: true, 134 XTermLike: true, 135 }) 136 }