| 1 |
// Generated automatically. DO NOT HAND-EDIT. |
| 2 |
|
| 3 |
package sun |
| 4 |
|
| 5 |
import "github.com/micro-editor/tcell/v2/terminfo" |
| 6 |
|
| 7 |
func 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: "\u007f", |
| 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 |
ResetFgBg: "\x1b[0m", |
| 63 |
PadChar: "\x00", |
| 64 |
SetCursor: "\x1b[%i%p1%d;%p2%dH", |
| 65 |
CursorBack1: "\b", |
| 66 |
CursorUp1: "\x1b[A", |
| 67 |
KeyUp: "\x1b[A", |
| 68 |
KeyDown: "\x1b[B", |
| 69 |
KeyRight: "\x1b[C", |
| 70 |
KeyLeft: "\x1b[D", |
| 71 |
KeyInsert: "\x1b[247z", |
| 72 |
KeyDelete: "\u007f", |
| 73 |
KeyBackspace: "\b", |
| 74 |
KeyHome: "\x1b[214z", |
| 75 |
KeyEnd: "\x1b[220z", |
| 76 |
KeyPgUp: "\x1b[216z", |
| 77 |
KeyPgDn: "\x1b[222z", |
| 78 |
KeyF1: "\x1b[224z", |
| 79 |
KeyF2: "\x1b[225z", |
| 80 |
KeyF3: "\x1b[226z", |
| 81 |
KeyF4: "\x1b[227z", |
| 82 |
KeyF5: "\x1b[228z", |
| 83 |
KeyF6: "\x1b[229z", |
| 84 |
KeyF7: "\x1b[230z", |
| 85 |
KeyF8: "\x1b[231z", |
| 86 |
KeyF9: "\x1b[232z", |
| 87 |
KeyF10: "\x1b[233z", |
| 88 |
KeyF11: "\x1b[234z", |
| 89 |
KeyF12: "\x1b[235z", |
| 90 |
}) |
| 91 |
} |