nt

A sensible note-taking program
git clone git://git.laack.co/nt.git
Log | Files | Refs | README

term.go (1869B)


      1 // Generated automatically.  DO NOT HAND-EDIT.
      2 
      3 package vt220
      4 
      5 import "github.com/gdamore/tcell/v2/terminfo"
      6 
      7 func init() {
      8 
      9 	// DEC VT220
     10 	terminfo.AddTerminfo(&terminfo.Terminfo{
     11 		Name:              "vt220",
     12 		Aliases:           []string{"vt200"},
     13 		Columns:           80,
     14 		Lines:             24,
     15 		Bell:              "\a",
     16 		Clear:             "\x1b[H\x1b[J",
     17 		ShowCursor:        "\x1b[?25h",
     18 		HideCursor:        "\x1b[?25l",
     19 		AttrOff:           "\x1b[m\x1b(B",
     20 		Underline:         "\x1b[4m",
     21 		Bold:              "\x1b[1m",
     22 		Blink:             "\x1b[5m",
     23 		Reverse:           "\x1b[7m",
     24 		PadChar:           "\x00",
     25 		AltChars:          "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
     26 		EnterAcs:          "\x1b(0$<2>",
     27 		ExitAcs:           "\x1b(B$<4>",
     28 		EnableAcs:         "\x1b)0",
     29 		EnableAutoMargin:  "\x1b[?7h",
     30 		DisableAutoMargin: "\x1b[?7l",
     31 		SetCursor:         "\x1b[%i%p1%d;%p2%dH",
     32 		CursorBack1:       "\b",
     33 		CursorUp1:         "\x1b[A",
     34 		KeyUp:             "\x1b[A",
     35 		KeyDown:           "\x1b[B",
     36 		KeyRight:          "\x1b[C",
     37 		KeyLeft:           "\x1b[D",
     38 		KeyInsert:         "\x1b[2~",
     39 		KeyDelete:         "\x1b[3~",
     40 		KeyBackspace:      "\b",
     41 		KeyPgUp:           "\x1b[5~",
     42 		KeyPgDn:           "\x1b[6~",
     43 		KeyF1:             "\x1bOP",
     44 		KeyF2:             "\x1bOQ",
     45 		KeyF3:             "\x1bOR",
     46 		KeyF4:             "\x1bOS",
     47 		KeyF6:             "\x1b[17~",
     48 		KeyF7:             "\x1b[18~",
     49 		KeyF8:             "\x1b[19~",
     50 		KeyF9:             "\x1b[20~",
     51 		KeyF10:            "\x1b[21~",
     52 		KeyF11:            "\x1b[23~",
     53 		KeyF12:            "\x1b[24~",
     54 		KeyF13:            "\x1b[25~",
     55 		KeyF14:            "\x1b[26~",
     56 		KeyF17:            "\x1b[31~",
     57 		KeyF18:            "\x1b[32~",
     58 		KeyF19:            "\x1b[33~",
     59 		KeyF20:            "\x1b[34~",
     60 		KeyHelp:           "\x1b[28~",
     61 		AutoMargin:        true,
     62 	})
     63 }