1// Generated automatically. DO NOT HAND-EDIT. 2 3package sun 4 5import "github.com/gdamore/tcell/terminfo" 6 7func init() { 8 9 // Sun Microsystems Inc. workstation console 10 terminfo.AddTerminfo(&terminfo.Terminfo{ 11 Name: "sun", 12 Aliases: []string{"sun1", "sun2"}, 13 Columns: 80, 14 Lines: 34, 15 Bell: "\a", 16 Clear: "\f", 17 AttrOff: "\x1b[m", 18 Reverse: "\x1b[7m", 19 PadChar: "\x00", 20 SetCursor: "\x1b[%i%p1%d;%p2%dH", 21 CursorBack1: "\b", 22 CursorUp1: "\x1b[A", 23 KeyUp: "\x1b[A", 24 KeyDown: "\x1b[B", 25 KeyRight: "\x1b[C", 26 KeyLeft: "\x1b[D", 27 KeyInsert: "\x1b[247z", 28 KeyDelete: "\xff", 29 KeyBackspace: "\b", 30 KeyHome: "\x1b[214z", 31 KeyEnd: "\x1b[220z", 32 KeyPgUp: "\x1b[216z", 33 KeyPgDn: "\x1b[222z", 34 KeyF1: "\x1b[224z", 35 KeyF2: "\x1b[225z", 36 KeyF3: "\x1b[226z", 37 KeyF4: "\x1b[227z", 38 KeyF5: "\x1b[228z", 39 KeyF6: "\x1b[229z", 40 KeyF7: "\x1b[230z", 41 KeyF8: "\x1b[231z", 42 KeyF9: "\x1b[232z", 43 KeyF10: "\x1b[233z", 44 KeyF11: "\x1b[234z", 45 KeyF12: "\x1b[235z", 46 }) 47 48 // Sun Microsystems Workstation console with color support (IA systems) 49 terminfo.AddTerminfo(&terminfo.Terminfo{ 50 Name: "sun-color", 51 Columns: 80, 52 Lines: 34, 53 Colors: 8, 54 Bell: "\a", 55 Clear: "\f", 56 AttrOff: "\x1b[m", 57 Bold: "\x1b[1m", 58 Reverse: "\x1b[7m", 59 SetFg: "\x1b[3%p1%dm", 60 SetBg: "\x1b[4%p1%dm", 61 SetFgBg: "\x1b[3%p1%d;4%p2%dm", 62 PadChar: "\x00", 63 SetCursor: "\x1b[%i%p1%d;%p2%dH", 64 CursorBack1: "\b", 65 CursorUp1: "\x1b[A", 66 KeyUp: "\x1b[A", 67 KeyDown: "\x1b[B", 68 KeyRight: "\x1b[C", 69 KeyLeft: "\x1b[D", 70 KeyInsert: "\x1b[247z", 71 KeyDelete: "\xff", 72 KeyBackspace: "\b", 73 KeyHome: "\x1b[214z", 74 KeyEnd: "\x1b[220z", 75 KeyPgUp: "\x1b[216z", 76 KeyPgDn: "\x1b[222z", 77 KeyF1: "\x1b[224z", 78 KeyF2: "\x1b[225z", 79 KeyF3: "\x1b[226z", 80 KeyF4: "\x1b[227z", 81 KeyF5: "\x1b[228z", 82 KeyF6: "\x1b[229z", 83 KeyF7: "\x1b[230z", 84 KeyF8: "\x1b[231z", 85 KeyF9: "\x1b[232z", 86 KeyF10: "\x1b[233z", 87 KeyF11: "\x1b[234z", 88 KeyF12: "\x1b[235z", 89 }) 90} 91