...

Source file src/github.com/gdamore/tcell/v2/terminfo/k/konsole/term.go

Documentation: github.com/gdamore/tcell/v2/terminfo/k/konsole

     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  		Clear:         "\x1b[H\x1b[2J",
    16  		EnterCA:       "\x1b7\x1b[?47h",
    17  		ExitCA:        "\x1b[2J\x1b[?47l\x1b8",
    18  		ShowCursor:    "\x1b[?25h",
    19  		HideCursor:    "\x1b[?25l",
    20  		AttrOff:       "\x1b[0m\x0f",
    21  		Underline:     "\x1b[4m",
    22  		Bold:          "\x1b[1m",
    23  		Dim:           "\x1b[2m",
    24  		Italic:        "\x1b[3m",
    25  		Blink:         "\x1b[5m",
    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  		AltChars:      "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
    34  		EnterAcs:      "\x0e",
    35  		ExitAcs:       "\x0f",
    36  		EnableAcs:     "\x1b)0",
    37  		StrikeThrough: "\x1b[9m",
    38  		Mouse:         "\x1b[<",
    39  		SetCursor:     "\x1b[%i%p1%d;%p2%dH",
    40  		CursorBack1:   "\b",
    41  		CursorUp1:     "\x1b[A",
    42  		KeyUp:         "\x1bOA",
    43  		KeyDown:       "\x1bOB",
    44  		KeyRight:      "\x1bOC",
    45  		KeyLeft:       "\x1bOD",
    46  		KeyInsert:     "\x1b[2~",
    47  		KeyDelete:     "\x1b[3~",
    48  		KeyBackspace:  "\u007f",
    49  		KeyHome:       "\x1bOH",
    50  		KeyEnd:        "\x1bOF",
    51  		KeyPgUp:       "\x1b[5~",
    52  		KeyPgDn:       "\x1b[6~",
    53  		KeyF1:         "\x1bOP",
    54  		KeyF2:         "\x1bOQ",
    55  		KeyF3:         "\x1bOR",
    56  		KeyF4:         "\x1bOS",
    57  		KeyF5:         "\x1b[15~",
    58  		KeyF6:         "\x1b[17~",
    59  		KeyF7:         "\x1b[18~",
    60  		KeyF8:         "\x1b[19~",
    61  		KeyF9:         "\x1b[20~",
    62  		KeyF10:        "\x1b[21~",
    63  		KeyF11:        "\x1b[23~",
    64  		KeyF12:        "\x1b[24~",
    65  		KeyBacktab:    "\x1b[Z",
    66  		Modifiers:     1,
    67  		AutoMargin:    true,
    68  	})
    69  
    70  	// KDE console window with xterm 256-colors
    71  	terminfo.AddTerminfo(&terminfo.Terminfo{
    72  		Name:          "konsole-256color",
    73  		Columns:       80,
    74  		Lines:         24,
    75  		Colors:        256,
    76  		Clear:         "\x1b[H\x1b[2J",
    77  		EnterCA:       "\x1b7\x1b[?47h",
    78  		ExitCA:        "\x1b[2J\x1b[?47l\x1b8",
    79  		ShowCursor:    "\x1b[?25h",
    80  		HideCursor:    "\x1b[?25l",
    81  		AttrOff:       "\x1b[0m\x0f",
    82  		Underline:     "\x1b[4m",
    83  		Bold:          "\x1b[1m",
    84  		Dim:           "\x1b[2m",
    85  		Italic:        "\x1b[3m",
    86  		Blink:         "\x1b[5m",
    87  		Reverse:       "\x1b[7m",
    88  		EnterKeypad:   "\x1b[?1h\x1b=",
    89  		ExitKeypad:    "\x1b[?1l\x1b>",
    90  		SetFg:         "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m",
    91  		SetBg:         "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
    92  		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",
    93  		ResetFgBg:     "\x1b[39;49m",
    94  		AltChars:      "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
    95  		EnterAcs:      "\x0e",
    96  		ExitAcs:       "\x0f",
    97  		EnableAcs:     "\x1b)0",
    98  		StrikeThrough: "\x1b[9m",
    99  		Mouse:         "\x1b[<",
   100  		SetCursor:     "\x1b[%i%p1%d;%p2%dH",
   101  		CursorBack1:   "\b",
   102  		CursorUp1:     "\x1b[A",
   103  		KeyUp:         "\x1bOA",
   104  		KeyDown:       "\x1bOB",
   105  		KeyRight:      "\x1bOC",
   106  		KeyLeft:       "\x1bOD",
   107  		KeyInsert:     "\x1b[2~",
   108  		KeyDelete:     "\x1b[3~",
   109  		KeyBackspace:  "\u007f",
   110  		KeyHome:       "\x1bOH",
   111  		KeyEnd:        "\x1bOF",
   112  		KeyPgUp:       "\x1b[5~",
   113  		KeyPgDn:       "\x1b[6~",
   114  		KeyF1:         "\x1bOP",
   115  		KeyF2:         "\x1bOQ",
   116  		KeyF3:         "\x1bOR",
   117  		KeyF4:         "\x1bOS",
   118  		KeyF5:         "\x1b[15~",
   119  		KeyF6:         "\x1b[17~",
   120  		KeyF7:         "\x1b[18~",
   121  		KeyF8:         "\x1b[19~",
   122  		KeyF9:         "\x1b[20~",
   123  		KeyF10:        "\x1b[21~",
   124  		KeyF11:        "\x1b[23~",
   125  		KeyF12:        "\x1b[24~",
   126  		KeyBacktab:    "\x1b[Z",
   127  		Modifiers:     1,
   128  		AutoMargin:    true,
   129  	})
   130  }
   131  

View as plain text