term.go (2652B)
1 // Generated automatically. DO NOT HAND-EDIT. 2 3 package xterm_ghostty 4 5 import "github.com/gdamore/tcell/v2/terminfo" 6 7 func init() { 8 9 // Ghostty 10 terminfo.AddTerminfo(&terminfo.Terminfo{ 11 Name: "xterm-ghostty", 12 Aliases: []string{"ghostty"}, 13 Columns: 80, 14 Lines: 24, 15 Colors: 256, 16 Bell: "\a", 17 Clear: "\x1b[H\x1b[2J", 18 EnterCA: "\x1b[?1049h", 19 ExitCA: "\x1b[?1049l", 20 ShowCursor: "\x1b[?12l\x1b[?25h", 21 HideCursor: "\x1b[?25l", 22 AttrOff: "\x1b(B\x1b[m", 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[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", 32 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", 33 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", 34 ResetFgBg: "\x1b[39;49m", 35 AltChars: "++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 36 EnterAcs: "\x1b(0", 37 ExitAcs: "\x1b(B", 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 TrueColor: true, 71 AutoMargin: true, 72 InsertChar: "\x1b[@", 73 DoubleUnderline: "\x1b[4:2m", 74 CurlyUnderline: "\x1b[4:3m", 75 DottedUnderline: "\x1b[4:4m", 76 DashedUnderline: "\x1b[4:5m", 77 XTermLike: true, 78 }) 79 }