...

Source file src/github.com/gdamore/tcell/v2/terminfo/s/screen/term.go

Documentation: github.com/gdamore/tcell/v2/terminfo/s/screen

     1  // Generated automatically.  DO NOT HAND-EDIT.
     2  
     3  package screen
     4  
     5  import "github.com/gdamore/tcell/v2/terminfo"
     6  
     7  func init() {
     8  
     9  	// VT 100/ANSI X3.64 virtual terminal
    10  	terminfo.AddTerminfo(&terminfo.Terminfo{
    11  		Name:         "screen",
    12  		Columns:      80,
    13  		Lines:        24,
    14  		Colors:       8,
    15  		Bell:         "\a",
    16  		Clear:        "\x1b[H\x1b[J",
    17  		EnterCA:      "\x1b[?1049h",
    18  		ExitCA:       "\x1b[?1049l",
    19  		ShowCursor:   "\x1b[34h\x1b[?25h",
    20  		HideCursor:   "\x1b[?25l",
    21  		AttrOff:      "\x1b[m\x0f",
    22  		Underline:    "\x1b[4m",
    23  		Bold:         "\x1b[1m",
    24  		Dim:          "\x1b[2m",
    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  		PadChar:      "\x00",
    34  		AltChars:     "++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
    35  		EnterAcs:     "\x0e",
    36  		ExitAcs:      "\x0f",
    37  		EnableAcs:    "\x1b(B\x1b)0",
    38  		Mouse:        "\x1b[M",
    39  		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
    40  		CursorBack1:  "\b",
    41  		CursorUp1:    "\x1bM",
    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:      "\x1b[1~",
    50  		KeyEnd:       "\x1b[4~",
    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  		AutoMargin:   true,
    67  	})
    68  
    69  	// GNU Screen with 256 colors
    70  	terminfo.AddTerminfo(&terminfo.Terminfo{
    71  		Name:         "screen-256color",
    72  		Columns:      80,
    73  		Lines:        24,
    74  		Colors:       256,
    75  		Bell:         "\a",
    76  		Clear:        "\x1b[H\x1b[J",
    77  		EnterCA:      "\x1b[?1049h",
    78  		ExitCA:       "\x1b[?1049l",
    79  		ShowCursor:   "\x1b[34h\x1b[?25h",
    80  		HideCursor:   "\x1b[?25l",
    81  		AttrOff:      "\x1b[m\x0f",
    82  		Underline:    "\x1b[4m",
    83  		Bold:         "\x1b[1m",
    84  		Dim:          "\x1b[2m",
    85  		Blink:        "\x1b[5m",
    86  		Reverse:      "\x1b[7m",
    87  		EnterKeypad:  "\x1b[?1h\x1b=",
    88  		ExitKeypad:   "\x1b[?1l\x1b>",
    89  		SetFg:        "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m",
    90  		SetBg:        "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
    91  		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",
    92  		ResetFgBg:    "\x1b[39;49m",
    93  		PadChar:      "\x00",
    94  		AltChars:     "++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
    95  		EnterAcs:     "\x0e",
    96  		ExitAcs:      "\x0f",
    97  		EnableAcs:    "\x1b(B\x1b)0",
    98  		Mouse:        "\x1b[M",
    99  		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
   100  		CursorBack1:  "\b",
   101  		CursorUp1:    "\x1bM",
   102  		KeyUp:        "\x1bOA",
   103  		KeyDown:      "\x1bOB",
   104  		KeyRight:     "\x1bOC",
   105  		KeyLeft:      "\x1bOD",
   106  		KeyInsert:    "\x1b[2~",
   107  		KeyDelete:    "\x1b[3~",
   108  		KeyBackspace: "\u007f",
   109  		KeyHome:      "\x1b[1~",
   110  		KeyEnd:       "\x1b[4~",
   111  		KeyPgUp:      "\x1b[5~",
   112  		KeyPgDn:      "\x1b[6~",
   113  		KeyF1:        "\x1bOP",
   114  		KeyF2:        "\x1bOQ",
   115  		KeyF3:        "\x1bOR",
   116  		KeyF4:        "\x1bOS",
   117  		KeyF5:        "\x1b[15~",
   118  		KeyF6:        "\x1b[17~",
   119  		KeyF7:        "\x1b[18~",
   120  		KeyF8:        "\x1b[19~",
   121  		KeyF9:        "\x1b[20~",
   122  		KeyF10:       "\x1b[21~",
   123  		KeyF11:       "\x1b[23~",
   124  		KeyF12:       "\x1b[24~",
   125  		KeyBacktab:   "\x1b[Z",
   126  		AutoMargin:   true,
   127  	})
   128  }
   129  

View as plain text