term.go (4553B)
1 // Generated automatically. DO NOT HAND-EDIT. 2 3 package konsole 4 5 import "github.com/gdamore/tcell/v2/terminfo" 6 7 func init() { 8 9 // KDE console window 10 terminfo.AddTerminfo(&terminfo.Terminfo{ 11 Name: "konsole", 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 Blink: "\x1b[5m", 27 Reverse: "\x1b[7m", 28 EnterKeypad: "\x1b[?1h\x1b=", 29 ExitKeypad: "\x1b[?1l\x1b>", 30 SetFg: "\x1b[3%p1%dm", 31 SetBg: "\x1b[4%p1%dm", 32 SetFgBg: "\x1b[3%p1%d;4%p2%dm", 33 ResetFgBg: "\x1b[39;49m", 34 AltChars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 35 EnterAcs: "\x0e", 36 ExitAcs: "\x0f", 37 EnableAcs: "\x1b)0", 38 EnableAutoMargin: "\x1b[?7h", 39 DisableAutoMargin: "\x1b[?7l", 40 StrikeThrough: "\x1b[9m", 41 Mouse: "\x1b[<", 42 SetCursor: "\x1b[%i%p1%d;%p2%dH", 43 CursorBack1: "\b", 44 CursorUp1: "\x1b[A", 45 KeyUp: "\x1bOA", 46 KeyDown: "\x1bOB", 47 KeyRight: "\x1bOC", 48 KeyLeft: "\x1bOD", 49 KeyInsert: "\x1b[2~", 50 KeyDelete: "\x1b[3~", 51 KeyBackspace: "\x7f", 52 KeyHome: "\x1bOH", 53 KeyEnd: "\x1bOF", 54 KeyPgUp: "\x1b[5~", 55 KeyPgDn: "\x1b[6~", 56 KeyF1: "\x1bOP", 57 KeyF2: "\x1bOQ", 58 KeyF3: "\x1bOR", 59 KeyF4: "\x1bOS", 60 KeyF5: "\x1b[15~", 61 KeyF6: "\x1b[17~", 62 KeyF7: "\x1b[18~", 63 KeyF8: "\x1b[19~", 64 KeyF9: "\x1b[20~", 65 KeyF10: "\x1b[21~", 66 KeyF11: "\x1b[23~", 67 KeyF12: "\x1b[24~", 68 KeyBacktab: "\x1b[Z", 69 Modifiers: 1, 70 AutoMargin: true, 71 XTermLike: true, 72 }) 73 74 // KDE console window with xterm 256-colors 75 terminfo.AddTerminfo(&terminfo.Terminfo{ 76 Name: "konsole-256color", 77 Columns: 80, 78 Lines: 24, 79 Colors: 256, 80 Bell: "\a", 81 Clear: "\x1b[H\x1b[2J", 82 EnterCA: "\x1b7\x1b[?47h", 83 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 84 ShowCursor: "\x1b[?25h", 85 HideCursor: "\x1b[?25l", 86 AttrOff: "\x1b[0m\x0f", 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: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 100 EnterAcs: "\x0e", 101 ExitAcs: "\x0f", 102 EnableAcs: "\x1b)0", 103 EnableAutoMargin: "\x1b[?7h", 104 DisableAutoMargin: "\x1b[?7l", 105 StrikeThrough: "\x1b[9m", 106 Mouse: "\x1b[<", 107 SetCursor: "\x1b[%i%p1%d;%p2%dH", 108 CursorBack1: "\b", 109 CursorUp1: "\x1b[A", 110 KeyUp: "\x1bOA", 111 KeyDown: "\x1bOB", 112 KeyRight: "\x1bOC", 113 KeyLeft: "\x1bOD", 114 KeyInsert: "\x1b[2~", 115 KeyDelete: "\x1b[3~", 116 KeyBackspace: "\x7f", 117 KeyHome: "\x1bOH", 118 KeyEnd: "\x1bOF", 119 KeyPgUp: "\x1b[5~", 120 KeyPgDn: "\x1b[6~", 121 KeyF1: "\x1bOP", 122 KeyF2: "\x1bOQ", 123 KeyF3: "\x1bOR", 124 KeyF4: "\x1bOS", 125 KeyF5: "\x1b[15~", 126 KeyF6: "\x1b[17~", 127 KeyF7: "\x1b[18~", 128 KeyF8: "\x1b[19~", 129 KeyF9: "\x1b[20~", 130 KeyF10: "\x1b[21~", 131 KeyF11: "\x1b[23~", 132 KeyF12: "\x1b[24~", 133 KeyBacktab: "\x1b[Z", 134 Modifiers: 1, 135 AutoMargin: true, 136 XTermLike: true, 137 }) 138 }