nt

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

term.go (3742B)


      1 // Generated automatically.  DO NOT HAND-EDIT.
      2 
      3 package wy99_ansi
      4 
      5 import "github.com/gdamore/tcell/v2/terminfo"
      6 
      7 func init() {
      8 
      9 	// Wyse WY-99GT in ANSI mode (int'l PC keyboard)
     10 	terminfo.AddTerminfo(&terminfo.Terminfo{
     11 		Name:              "wy99-ansi",
     12 		Columns:           80,
     13 		Lines:             25,
     14 		Bell:              "\a",
     15 		Clear:             "\x1b[H\x1b[J$<200>",
     16 		ShowCursor:        "\x1b[34h\x1b[?25h",
     17 		HideCursor:        "\x1b[?25l",
     18 		AttrOff:           "\x1b[m\x0f\x1b[\"q",
     19 		Underline:         "\x1b[4m",
     20 		Bold:              "\x1b[1m",
     21 		Dim:               "\x1b[2m",
     22 		Blink:             "\x1b[5m",
     23 		Reverse:           "\x1b[7m",
     24 		EnterKeypad:       "\x1b[?1h",
     25 		ExitKeypad:        "\x1b[?1l",
     26 		PadChar:           "\x00",
     27 		AltChars:          "``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~",
     28 		EnterAcs:          "\x0e",
     29 		ExitAcs:           "\x0f",
     30 		EnableAcs:         "\x1b)0",
     31 		EnableAutoMargin:  "\x1b[?7h",
     32 		DisableAutoMargin: "\x1b[?7l",
     33 		SetCursor:         "\x1b[%i%p1%d;%p2%dH",
     34 		CursorBack1:       "\b$<1>",
     35 		CursorUp1:         "\x1bM",
     36 		KeyUp:             "\x1bOA",
     37 		KeyDown:           "\x1bOB",
     38 		KeyRight:          "\x1bOC",
     39 		KeyLeft:           "\x1bOD",
     40 		KeyBackspace:      "\b",
     41 		KeyF1:             "\x1bOP",
     42 		KeyF2:             "\x1bOQ",
     43 		KeyF3:             "\x1bOR",
     44 		KeyF4:             "\x1bOS",
     45 		KeyF5:             "\x1b[M",
     46 		KeyF6:             "\x1b[17~",
     47 		KeyF7:             "\x1b[18~",
     48 		KeyF8:             "\x1b[19~",
     49 		KeyF9:             "\x1b[20~",
     50 		KeyF10:            "\x1b[21~",
     51 		KeyF11:            "\x1b[23~",
     52 		KeyF12:            "\x1b[24~",
     53 		KeyF17:            "\x1b[K",
     54 		KeyF18:            "\x1b[31~",
     55 		KeyF19:            "\x1b[32~",
     56 		KeyF20:            "\x1b[33~",
     57 		KeyF21:            "\x1b[34~",
     58 		KeyF22:            "\x1b[35~",
     59 		KeyF23:            "\x1b[1~",
     60 		KeyF24:            "\x1b[2~",
     61 		KeyBacktab:        "\x1b[z",
     62 		AutoMargin:        true,
     63 	})
     64 
     65 	// Wyse WY-99GT in ANSI mode (US PC keyboard)
     66 	terminfo.AddTerminfo(&terminfo.Terminfo{
     67 		Name:              "wy99a-ansi",
     68 		Columns:           80,
     69 		Lines:             25,
     70 		Bell:              "\a",
     71 		Clear:             "\x1b[H\x1b[J$<200>",
     72 		ShowCursor:        "\x1b[34h\x1b[?25h",
     73 		HideCursor:        "\x1b[?25l",
     74 		AttrOff:           "\x1b[m\x0f\x1b[\"q",
     75 		Underline:         "\x1b[4m",
     76 		Bold:              "\x1b[1m",
     77 		Dim:               "\x1b[2m",
     78 		Blink:             "\x1b[5m",
     79 		Reverse:           "\x1b[7m",
     80 		EnterKeypad:       "\x1b[?1h",
     81 		ExitKeypad:        "\x1b[?1l",
     82 		PadChar:           "\x00",
     83 		AltChars:          "``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~",
     84 		EnterAcs:          "\x0e",
     85 		ExitAcs:           "\x0f",
     86 		EnableAcs:         "\x1b)0",
     87 		EnableAutoMargin:  "\x1b[?7h",
     88 		DisableAutoMargin: "\x1b[?7l",
     89 		SetCursor:         "\x1b[%i%p1%d;%p2%dH",
     90 		CursorBack1:       "\b$<1>",
     91 		CursorUp1:         "\x1bM",
     92 		KeyUp:             "\x1bOA",
     93 		KeyDown:           "\x1bOB",
     94 		KeyRight:          "\x1bOC",
     95 		KeyLeft:           "\x1bOD",
     96 		KeyBackspace:      "\b",
     97 		KeyF1:             "\x1bOP",
     98 		KeyF2:             "\x1bOQ",
     99 		KeyF3:             "\x1bOR",
    100 		KeyF4:             "\x1bOS",
    101 		KeyF5:             "\x1b[M",
    102 		KeyF6:             "\x1b[17~",
    103 		KeyF7:             "\x1b[18~",
    104 		KeyF8:             "\x1b[19~",
    105 		KeyF9:             "\x1b[20~",
    106 		KeyF10:            "\x1b[21~",
    107 		KeyF11:            "\x1b[23~",
    108 		KeyF12:            "\x1b[24~",
    109 		KeyF17:            "\x1b[K",
    110 		KeyF18:            "\x1b[31~",
    111 		KeyF19:            "\x1b[32~",
    112 		KeyF20:            "\x1b[33~",
    113 		KeyF21:            "\x1b[34~",
    114 		KeyF22:            "\x1b[35~",
    115 		KeyF23:            "\x1b[1~",
    116 		KeyF24:            "\x1b[2~",
    117 		KeyBacktab:        "\x1b[z",
    118 		AutoMargin:        true,
    119 	})
    120 }