nt

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

direct.go (2135B)


      1 // Generated automatically.  DO NOT HAND-EDIT.
      2 
      3 package alacritty
      4 
      5 import "github.com/gdamore/tcell/v2/terminfo"
      6 
      7 func init() {
      8 
      9 	// alacritty with direct color indexing
     10 	terminfo.AddTerminfo(&terminfo.Terminfo{
     11 		Name:          "alacritty-direct",
     12 		Columns:       80,
     13 		Lines:         24,
     14 		Colors:        16777216,
     15 		Bell:          "\a",
     16 		Clear:         "\x1b[H\x1b[2J",
     17 		EnterCA:       "\x1b[?1049h\x1b[22;0;0t",
     18 		ExitCA:        "\x1b[?1049l\x1b[23;0;0t",
     19 		ShowCursor:    "\x1b[?12l\x1b[?25h",
     20 		HideCursor:    "\x1b[?25l",
     21 		AttrOff:       "\x1b(B\x1b[m",
     22 		Underline:     "\x1b[4m",
     23 		Bold:          "\x1b[1m",
     24 		Dim:           "\x1b[2m",
     25 		Italic:        "\x1b[3m",
     26 		Reverse:       "\x1b[7m",
     27 		EnterKeypad:   "\x1b[?1h\x1b=",
     28 		ExitKeypad:    "\x1b[?1l\x1b>",
     29 		SetFg:         "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m",
     30 		SetBg:         "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m",
     31 		SetFgBg:       "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;;%?%p2%{8}%<%t4%p2%d%e%p2%{16}%<%t10%p2%{8}%-%d%e48;5;%p2%d%;m",
     32 		ResetFgBg:     "\x1b[39;49m",
     33 		AltChars:      "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~",
     34 		EnterAcs:      "\x1b(0",
     35 		ExitAcs:       "\x1b(B",
     36 		StrikeThrough: "\x1b[9m",
     37 		Mouse:         "\x1b[M",
     38 		SetCursor:     "\x1b[%i%p1%d;%p2%dH",
     39 		CursorBack1:   "\b",
     40 		CursorUp1:     "\x1b[A",
     41 		KeyUp:         "\x1bOA",
     42 		KeyDown:       "\x1bOB",
     43 		KeyRight:      "\x1bOC",
     44 		KeyLeft:       "\x1bOD",
     45 		KeyInsert:     "\x1b[2~",
     46 		KeyDelete:     "\x1b[3~",
     47 		KeyBackspace:  "\x7f",
     48 		KeyHome:       "\x1bOH",
     49 		KeyEnd:        "\x1bOF",
     50 		KeyPgUp:       "\x1b[5~",
     51 		KeyPgDn:       "\x1b[6~",
     52 		KeyF1:         "\x1bOP",
     53 		KeyF2:         "\x1bOQ",
     54 		KeyF3:         "\x1bOR",
     55 		KeyF4:         "\x1bOS",
     56 		KeyF5:         "\x1b[15~",
     57 		KeyF6:         "\x1b[17~",
     58 		KeyF7:         "\x1b[18~",
     59 		KeyF8:         "\x1b[19~",
     60 		KeyF9:         "\x1b[20~",
     61 		KeyF10:        "\x1b[21~",
     62 		KeyF11:        "\x1b[23~",
     63 		KeyF12:        "\x1b[24~",
     64 		KeyBacktab:    "\x1b[Z",
     65 		Modifiers:     1,
     66 		TrueColor:     true,
     67 		AutoMargin:    true,
     68 	})
     69 }