...

Source file src/github.com/gdamore/tcell/v2/terminfo/p/pcansi/term.go

Documentation: github.com/gdamore/tcell/v2/terminfo/p/pcansi

     1  // Generated automatically.  DO NOT HAND-EDIT.
     2  
     3  package pcansi
     4  
     5  import "github.com/gdamore/tcell/v2/terminfo"
     6  
     7  func init() {
     8  
     9  	// ibm-pc terminal programs claiming to be ansi
    10  	terminfo.AddTerminfo(&terminfo.Terminfo{
    11  		Name:         "pcansi",
    12  		Columns:      80,
    13  		Lines:        24,
    14  		Colors:       8,
    15  		Bell:         "\a",
    16  		Clear:        "\x1b[H\x1b[J",
    17  		AttrOff:      "\x1b[0;10m",
    18  		Underline:    "\x1b[4m",
    19  		Bold:         "\x1b[1m",
    20  		Blink:        "\x1b[5m",
    21  		Reverse:      "\x1b[7m",
    22  		SetFg:        "\x1b[3%p1%dm",
    23  		SetBg:        "\x1b[4%p1%dm",
    24  		SetFgBg:      "\x1b[3%p1%d;4%p2%dm",
    25  		ResetFgBg:    "\x1b[37;40m",
    26  		PadChar:      "\x00",
    27  		AltChars:     "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe",
    28  		EnterAcs:     "\x1b[12m",
    29  		ExitAcs:      "\x1b[10m",
    30  		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
    31  		CursorBack1:  "\x1b[D",
    32  		CursorUp1:    "\x1b[A",
    33  		KeyUp:        "\x1b[A",
    34  		KeyDown:      "\x1b[B",
    35  		KeyRight:     "\x1b[C",
    36  		KeyLeft:      "\x1b[D",
    37  		KeyBackspace: "\b",
    38  		KeyHome:      "\x1b[H",
    39  		AutoMargin:   true,
    40  	})
    41  }
    42  

View as plain text