Skip to content

Commit 4f213fd

Browse files
committed
Make sun-color 256 color by default, and just drop the sun-256color.
1 parent dcf5866 commit 4f213fd

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

terminfo/s/sun/term.go

-44
Original file line numberDiff line numberDiff line change
@@ -70,50 +70,6 @@ func init() {
7070
Name: "sun-color",
7171
Columns: 80,
7272
Lines: 34,
73-
Colors: 8,
74-
Bell: "\a",
75-
Clear: "\f",
76-
AttrOff: "\x1b[m",
77-
Bold: "\x1b[1m",
78-
Reverse: "\x1b[7m",
79-
SetFg: "\x1b[38;5;%p1%dm",
80-
SetBg: "\x1b[48;5;%p1%dm",
81-
ResetFgBg: "\x1b[0m",
82-
PadChar: "\x00",
83-
SetCursor: "\x1b[%i%p1%d;%p2%dH",
84-
CursorBack1: "\b",
85-
CursorUp1: "\x1b[A",
86-
KeyUp: "\x1b[A",
87-
KeyDown: "\x1b[B",
88-
KeyRight: "\x1b[C",
89-
KeyLeft: "\x1b[D",
90-
KeyInsert: "\x1b[247z",
91-
KeyDelete: "\u007f",
92-
KeyBackspace: "\b",
93-
KeyHome: "\x1b[214z",
94-
KeyEnd: "\x1b[220z",
95-
KeyPgUp: "\x1b[216z",
96-
KeyPgDn: "\x1b[222z",
97-
KeyF1: "\x1b[224z",
98-
KeyF2: "\x1b[225z",
99-
KeyF3: "\x1b[226z",
100-
KeyF4: "\x1b[227z",
101-
KeyF5: "\x1b[228z",
102-
KeyF6: "\x1b[229z",
103-
KeyF7: "\x1b[230z",
104-
KeyF8: "\x1b[231z",
105-
KeyF9: "\x1b[232z",
106-
KeyF10: "\x1b[233z",
107-
KeyF11: "\x1b[234z",
108-
KeyF12: "\x1b[235z",
109-
AutoMargin: true,
110-
InsertChar: "\x1b[@",
111-
})
112-
113-
terminfo.AddTerminfo(&terminfo.Terminfo{
114-
Name: "sun-256color",
115-
Columns: 80,
116-
Lines: 34,
11773
Colors: 256,
11874
Bell: "\a",
11975
Clear: "\f",

0 commit comments

Comments
 (0)