...

Source file src/github.com/gdamore/tcell/v2/terminfo/l/linux/term.go

Documentation: github.com/gdamore/tcell/v2/terminfo/l/linux

     1  // Generated automatically.  DO NOT HAND-EDIT.
     2  
     3  package linux
     4  
     5  import "github.com/gdamore/tcell/v2/terminfo"
     6  
     7  func init() {
     8  
     9  	// linux console
    10  	terminfo.AddTerminfo(&terminfo.Terminfo{
    11  		Name:         "linux",
    12  		Colors:       8,
    13  		Bell:         "\a",
    14  		Clear:        "\x1b[H\x1b[J",
    15  		ShowCursor:   "\x1b[?25h\x1b[?0c",
    16  		HideCursor:   "\x1b[?25l\x1b[?1c",
    17  		AttrOff:      "\x1b[m\x0f",
    18  		Underline:    "\x1b[4m",
    19  		Bold:         "\x1b[1m",
    20  		Dim:          "\x1b[2m",
    21  		Blink:        "\x1b[5m",
    22  		Reverse:      "\x1b[7m",
    23  		SetFg:        "\x1b[3%p1%dm",
    24  		SetBg:        "\x1b[4%p1%dm",
    25  		SetFgBg:      "\x1b[3%p1%d;4%p2%dm",
    26  		ResetFgBg:    "\x1b[39;49m",
    27  		PadChar:      "\x00",
    28  		AltChars:     "++,,--..00__``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}c~~",
    29  		EnterAcs:     "\x0e",
    30  		ExitAcs:      "\x0f",
    31  		EnableAcs:    "\x1b)0",
    32  		Mouse:        "\x1b[M",
    33  		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
    34  		CursorBack1:  "\b",
    35  		CursorUp1:    "\x1b[A",
    36  		KeyUp:        "\x1b[A",
    37  		KeyDown:      "\x1b[B",
    38  		KeyRight:     "\x1b[C",
    39  		KeyLeft:      "\x1b[D",
    40  		KeyInsert:    "\x1b[2~",
    41  		KeyDelete:    "\x1b[3~",
    42  		KeyBackspace: "\u007f",
    43  		KeyHome:      "\x1b[1~",
    44  		KeyEnd:       "\x1b[4~",
    45  		KeyPgUp:      "\x1b[5~",
    46  		KeyPgDn:      "\x1b[6~",
    47  		KeyF1:        "\x1b[[A",
    48  		KeyF2:        "\x1b[[B",
    49  		KeyF3:        "\x1b[[C",
    50  		KeyF4:        "\x1b[[D",
    51  		KeyF5:        "\x1b[[E",
    52  		KeyF6:        "\x1b[17~",
    53  		KeyF7:        "\x1b[18~",
    54  		KeyF8:        "\x1b[19~",
    55  		KeyF9:        "\x1b[20~",
    56  		KeyF10:       "\x1b[21~",
    57  		KeyF11:       "\x1b[23~",
    58  		KeyF12:       "\x1b[24~",
    59  		KeyF13:       "\x1b[25~",
    60  		KeyF14:       "\x1b[26~",
    61  		KeyF15:       "\x1b[28~",
    62  		KeyF16:       "\x1b[29~",
    63  		KeyF17:       "\x1b[31~",
    64  		KeyF18:       "\x1b[32~",
    65  		KeyF19:       "\x1b[33~",
    66  		KeyF20:       "\x1b[34~",
    67  		KeyBacktab:   "\x1b[Z",
    68  		AutoMargin:   true,
    69  		InsertChar:   "\x1b[@",
    70  	})
    71  }
    72  

View as plain text