nt

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

term.go (1410B)


      1 // Generated automatically.  DO NOT HAND-EDIT.
      2 
      3 package beterm
      4 
      5 import "github.com/gdamore/tcell/v2/terminfo"
      6 
      7 func init() {
      8 
      9 	// BeOS Terminal
     10 	terminfo.AddTerminfo(&terminfo.Terminfo{
     11 		Name:         "beterm",
     12 		Columns:      80,
     13 		Lines:        25,
     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 		Reverse:      "\x1b[7m",
     21 		EnterKeypad:  "\x1b[?4h",
     22 		ExitKeypad:   "\x1b[?4l",
     23 		SetFg:        "\x1b[3%p1%dm",
     24 		SetBg:        "\x1b[4%p1%dm",
     25 		SetFgBg:      "\x1b[3%p1%d;4%p2%dm",
     26 		ResetFgBg:    "\x1b[m",
     27 		PadChar:      "\x00",
     28 		SetCursor:    "\x1b[%i%p1%d;%p2%dH",
     29 		CursorBack1:  "\b",
     30 		CursorUp1:    "\x1b[A",
     31 		KeyUp:        "\x1b[A",
     32 		KeyDown:      "\x1b[B",
     33 		KeyRight:     "\x1b[C",
     34 		KeyLeft:      "\x1b[D",
     35 		KeyInsert:    "\x1b[2~",
     36 		KeyDelete:    "\x1b[3~",
     37 		KeyBackspace: "\b",
     38 		KeyHome:      "\x1b[1~",
     39 		KeyEnd:       "\x1b[4~",
     40 		KeyPgUp:      "\x1b[5~",
     41 		KeyPgDn:      "\x1b[6~",
     42 		KeyF1:        "\x1b[11~",
     43 		KeyF2:        "\x1b[12~",
     44 		KeyF3:        "\x1b[13~",
     45 		KeyF4:        "\x1b[14~",
     46 		KeyF5:        "\x1b[15~",
     47 		KeyF6:        "\x1b[16~",
     48 		KeyF7:        "\x1b[17~",
     49 		KeyF8:        "\x1b[18~",
     50 		KeyF9:        "\x1b[19~",
     51 		KeyF10:       "\x1b[20~",
     52 		KeyF11:       "\x1b[21~",
     53 		KeyF12:       "\x1b[22~",
     54 		AutoMargin:   true,
     55 		InsertChar:   "\x1b[@",
     56 	})
     57 }