Created
December 19, 2017 21:54
-
-
Save gcla/5f19a5aef8d0e323c26a3fa856f44863 to your computer and use it in GitHub Desktop.
terminfo database changes after mkinfo patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/terminfo/term_Eterm.go b/terminfo/term_Eterm.go | |
index aa4907e..48f26c4 100644 | |
--- a/terminfo/term_Eterm.go | |
+++ b/terminfo/term_Eterm.go | |
@@ -16,7 +16,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -40,7 +40,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_Eterm_256color.go b/terminfo/term_Eterm_256color.go | |
index 217457c..51d4da7 100644 | |
--- a/terminfo/term_Eterm_256color.go | |
+++ b/terminfo/term_Eterm_256color.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -39,7 +39,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_adm3a.go b/terminfo/term_adm3a.go | |
index dc57809..d8709da 100644 | |
--- a/terminfo/term_adm3a.go | |
+++ b/terminfo/term_adm3a.go | |
@@ -9,7 +9,7 @@ func init() { | |
Columns: 80, | |
Lines: 24, | |
Bell: "\a", | |
- Clear: "\x0032$<1/>", | |
+ Clear: "\x1a$<1/>", | |
PadChar: "\x00", | |
SetCursor: "\x1b=%p1%' '%+%c%p2%' '%+%c", | |
CursorBack1: "\b", | |
diff --git a/terminfo/term_ansi.go b/terminfo/term_ansi.go | |
index 52a68ea..a790993 100644 | |
--- a/terminfo/term_ansi.go | |
+++ b/terminfo/term_ansi.go | |
@@ -20,7 +20,7 @@ func init() { | |
SetBg: "\x1b[4%p1%dm", | |
SetFgBg: "\x1b[3%p1%d;4%p2%dm", | |
PadChar: "\x00", | |
- AltChars: "+\x0020,\x0021-\x0030.\x190333`\x0004a261f370g361h260j331k277l332m300n305o~p304q304r304s_t303u264v301w302x263y363z362{343|330}234~376", | |
+ AltChars: "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe", | |
EnterAcs: "\x1b[11m", | |
ExitAcs: "\x1b[10m", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
diff --git a/terminfo/term_aterm.go b/terminfo/term_aterm.go | |
index 94daaaf..77177a2 100644 | |
--- a/terminfo/term_aterm.go | |
+++ b/terminfo/term_aterm.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_bsdos_pc.go b/terminfo/term_bsdos_pc.go | |
index 413ea64..c056126 100644 | |
--- a/terminfo/term_bsdos_pc.go | |
+++ b/terminfo/term_bsdos_pc.go | |
@@ -20,7 +20,7 @@ func init() { | |
SetBg: "\x1b[4%p1%dm", | |
SetFgBg: "\x1b[3%p1%d;4%p2%dm", | |
PadChar: "\x00", | |
- AltChars: "+\x0020,\x0021-\x0030.\x190333`\x0004a261f370g361h260j331k277l332m300n305o~p304q304r304s_t303u264v301w302x263y363z362{343|330}234~376", | |
+ AltChars: "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe", | |
EnterAcs: "\x1b[11m", | |
ExitAcs: "\x1b[10m", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
diff --git a/terminfo/term_cygwin.go b/terminfo/term_cygwin.go | |
index 1fdc571..568bbe1 100644 | |
--- a/terminfo/term_cygwin.go | |
+++ b/terminfo/term_cygwin.go | |
@@ -19,7 +19,7 @@ func init() { | |
SetBg: "\x1b[4%p1%dm", | |
SetFgBg: "\x1b[3%p1%d;4%p2%dm", | |
PadChar: "\x00", | |
- AltChars: "+\x0020,\x0021-\x0030.\x190333`\x0004a261f370g361h260j331k277l332m300n305o~p304q304r304s_t303u264v301w302x263y363z362{343|330}234~376", | |
+ AltChars: "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe", | |
EnterAcs: "\x1b[11m", | |
ExitAcs: "\x1b[10m", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
diff --git a/terminfo/term_d200.go b/terminfo/term_d200.go | |
index e801679..611f6ee 100644 | |
--- a/terminfo/term_d200.go | |
+++ b/terminfo/term_d200.go | |
@@ -11,14 +11,14 @@ func init() { | |
Lines: 24, | |
Bell: "\a", | |
Clear: "\f", | |
- AttrOff: "\x0017\x0025\x0035\x0036E", | |
+ AttrOff: "\x0f\x15\x1d\x1eE", | |
Underline: "\x14", | |
Bold: "\x1eD\x14", | |
Dim: "\x1c", | |
Blink: "\x0e", | |
Reverse: "\x1eD", | |
PadChar: "\x00", | |
- SetCursor: "\x0020%p2%c%p1%c", | |
+ SetCursor: "\x10%p2%c%p1%c", | |
CursorBack1: "\x19", | |
CursorUp1: "\x17", | |
KeyUp: "\x17", | |
diff --git a/terminfo/term_dtterm.go b/terminfo/term_dtterm.go | |
index c173d56..9c563c5 100644 | |
--- a/terminfo/term_dtterm.go | |
+++ b/terminfo/term_dtterm.go | |
@@ -13,7 +13,7 @@ func init() { | |
Clear: "\x1b[H\x1b[J", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
diff --git a/terminfo/term_gnome.go b/terminfo/term_gnome.go | |
index f4d4359..d7907f4 100644 | |
--- a/terminfo/term_gnome.go | |
+++ b/terminfo/term_gnome.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[0m\x0017", | |
+ AttrOff: "\x1b[0m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_gnome_256color.go b/terminfo/term_gnome_256color.go | |
index fd7b110..342699d 100644 | |
--- a/terminfo/term_gnome_256color.go | |
+++ b/terminfo/term_gnome_256color.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[0m\x0017", | |
+ AttrOff: "\x1b[0m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_hz1500.go b/terminfo/term_hz1500.go | |
index 8af0eff..34ef6ef 100644 | |
--- a/terminfo/term_hz1500.go | |
+++ b/terminfo/term_hz1500.go | |
@@ -11,7 +11,7 @@ func init() { | |
Bell: "\a", | |
Clear: "~\x1c", | |
PadChar: "\x00", | |
- SetCursor: "~\x0021%p2%p2%?%{30}%>%t%' '%+%;%'`'%+%c%p1%'`'%+%c", | |
+ SetCursor: "~\x11%p2%p2%?%{30}%>%t%' '%+%;%'`'%+%c%p1%'`'%+%c", | |
CursorBack1: "\b", | |
CursorUp1: "~\f", | |
KeyUp: "~\f", | |
diff --git a/terminfo/term_konsole.go b/terminfo/term_konsole.go | |
index c2689de..5c4e4ec 100644 | |
--- a/terminfo/term_konsole.go | |
+++ b/terminfo/term_konsole.go | |
@@ -14,7 +14,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[0m\x0017", | |
+ AttrOff: "\x1b[0m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -39,7 +39,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_konsole_256color.go b/terminfo/term_konsole_256color.go | |
index 7adc8ea..cbe0314 100644 | |
--- a/terminfo/term_konsole_256color.go | |
+++ b/terminfo/term_konsole_256color.go | |
@@ -14,7 +14,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[0m\x0017", | |
+ AttrOff: "\x1b[0m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -39,7 +39,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_linux.go b/terminfo/term_linux.go | |
index a5b29a6..a3d1872 100644 | |
--- a/terminfo/term_linux.go | |
+++ b/terminfo/term_linux.go | |
@@ -11,7 +11,7 @@ func init() { | |
Clear: "\x1b[H\x1b[J", | |
ShowCursor: "\x1b[?25h\x1b[?0c", | |
HideCursor: "\x1b[?25l\x1b[?1c", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -36,7 +36,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[1~", | |
KeyEnd: "\x1b[4~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_pcansi.go b/terminfo/term_pcansi.go | |
index 055b3ac..270ee45 100644 | |
--- a/terminfo/term_pcansi.go | |
+++ b/terminfo/term_pcansi.go | |
@@ -20,7 +20,7 @@ func init() { | |
SetBg: "\x1b[4%p1%dm", | |
SetFgBg: "\x1b[3%p1%d;4%p2%dm", | |
PadChar: "\x00", | |
- AltChars: "+\x0020,\x0021-\x0030.\x190333`\x0004a261f370g361h260j331k277l332m300n305o~p304q304r304s_t303u264v301w302x263y363z362{343|330}234~376", | |
+ AltChars: "+\x10,\x11-\x18.\x190\xdb`\x04a\xb1f\xf8g\xf1h\xb0j\xd9k\xbfl\xdam\xc0n\xc5o~p\xc4q\xc4r\xc4s_t\xc3u\xb4v\xc1w\xc2x\xb3y\xf3z\xf2{\xe3|\xd8}\x9c~\xfe", | |
EnterAcs: "\x1b[12m", | |
ExitAcs: "\x1b[10m", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
diff --git a/terminfo/term_rxvt.go b/terminfo/term_rxvt.go | |
index 0ae1d91..9ce8e80 100644 | |
--- a/terminfo/term_rxvt.go | |
+++ b/terminfo/term_rxvt.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_rxvt_256color.go b/terminfo/term_rxvt_256color.go | |
index b8c1676..d2cd310 100644 | |
--- a/terminfo/term_rxvt_256color.go | |
+++ b/terminfo/term_rxvt_256color.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Blink: "\x1b[5m", | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_rxvt_unicode.go b/terminfo/term_rxvt_unicode.go | |
index 6da67b7..3aebf6b 100644 | |
--- a/terminfo/term_rxvt_unicode.go | |
+++ b/terminfo/term_rxvt_unicode.go | |
@@ -39,7 +39,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_rxvt_unicode_256color.go b/terminfo/term_rxvt_unicode_256color.go | |
index ac87fb9..276f580 100644 | |
--- a/terminfo/term_rxvt_unicode_256color.go | |
+++ b/terminfo/term_rxvt_unicode_256color.go | |
@@ -39,7 +39,7 @@ func init() { | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[7~", | |
KeyEnd: "\x1b[8~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_screen.go b/terminfo/term_screen.go | |
index a109d4c..d9dca02 100644 | |
--- a/terminfo/term_screen.go | |
+++ b/terminfo/term_screen.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[?1049l", | |
ShowCursor: "\x1b[34h\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -42,7 +42,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[1~", | |
KeyEnd: "\x1b[4~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_screen_256color.go b/terminfo/term_screen_256color.go | |
index 5bc74aa..40fda22 100644 | |
--- a/terminfo/term_screen_256color.go | |
+++ b/terminfo/term_screen_256color.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[?1049l", | |
ShowCursor: "\x1b[34h\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017", | |
+ AttrOff: "\x1b[m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -42,7 +42,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[1~", | |
KeyEnd: "\x1b[4~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_st.go b/terminfo/term_st.go | |
index d5e278e..272af39 100644 | |
--- a/terminfo/term_st.go | |
+++ b/terminfo/term_st.go | |
@@ -42,7 +42,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[1~", | |
KeyEnd: "\x1b[4~", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_sun.go b/terminfo/term_sun.go | |
index 38a1bbd..5858b4c 100644 | |
--- a/terminfo/term_sun.go | |
+++ b/terminfo/term_sun.go | |
@@ -22,7 +22,7 @@ func init() { | |
KeyRight: "\x1b[C", | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[247z", | |
- KeyDelete: "177", | |
+ KeyDelete: "\u007f", | |
KeyBackspace: "\b", | |
KeyHome: "\x1b[214z", | |
KeyEnd: "\x1b[220z", | |
diff --git a/terminfo/term_sun_color.go b/terminfo/term_sun_color.go | |
index 2b6f1b6..e4ebe96 100644 | |
--- a/terminfo/term_sun_color.go | |
+++ b/terminfo/term_sun_color.go | |
@@ -26,7 +26,7 @@ func init() { | |
KeyRight: "\x1b[C", | |
KeyLeft: "\x1b[D", | |
KeyInsert: "\x1b[247z", | |
- KeyDelete: "177", | |
+ KeyDelete: "\u007f", | |
KeyBackspace: "\b", | |
KeyHome: "\x1b[214z", | |
KeyEnd: "\x1b[220z", | |
diff --git a/terminfo/term_tvi950.go b/terminfo/term_tvi950.go | |
index b8222dc..49d9e4b 100644 | |
--- a/terminfo/term_tvi950.go | |
+++ b/terminfo/term_tvi950.go | |
@@ -14,7 +14,7 @@ func init() { | |
Underline: "\x1bG8", | |
Reverse: "\x1bG4", | |
PadChar: "\x00", | |
- AltChars: "b\x0011c\x0014d\re\ni\x0013", | |
+ AltChars: "b\tc\fd\re\ni\v", | |
EnterAcs: "\x15", | |
ExitAcs: "\x18", | |
SetCursor: "\x1b=%p1%' '%+%c%p2%' '%+%c", | |
diff --git a/terminfo/term_vt100.go b/terminfo/term_vt100.go | |
index 47c4996..8293cda 100644 | |
--- a/terminfo/term_vt100.go | |
+++ b/terminfo/term_vt100.go | |
@@ -11,7 +11,7 @@ func init() { | |
Lines: 24, | |
Bell: "\a", | |
Clear: "\x1b[H\x1b[J$<50>", | |
- AttrOff: "\x1b[m\x0017$<2>", | |
+ AttrOff: "\x1b[m\x0f$<2>", | |
Underline: "\x1b[4m$<2>", | |
Bold: "\x1b[1m$<2>", | |
Blink: "\x1b[5m$<2>", | |
diff --git a/terminfo/term_vt102.go b/terminfo/term_vt102.go | |
index 0199eb6..414d36b 100644 | |
--- a/terminfo/term_vt102.go | |
+++ b/terminfo/term_vt102.go | |
@@ -10,7 +10,7 @@ func init() { | |
Lines: 24, | |
Bell: "\a", | |
Clear: "\x1b[H\x1b[J$<50>", | |
- AttrOff: "\x1b[m\x0017$<2>", | |
+ AttrOff: "\x1b[m\x0f$<2>", | |
Underline: "\x1b[4m$<2>", | |
Bold: "\x1b[1m$<2>", | |
Blink: "\x1b[5m$<2>", | |
diff --git a/terminfo/term_vt320.go b/terminfo/term_vt320.go | |
index cb4da0a..7832e08 100644 | |
--- a/terminfo/term_vt320.go | |
+++ b/terminfo/term_vt320.go | |
@@ -33,7 +33,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1b[1~", | |
KeyPgUp: "\x1b[5~", | |
KeyPgDn: "\x1b[6~", | |
diff --git a/terminfo/term_wy50.go b/terminfo/term_wy50.go | |
index 1294629..022dda9 100644 | |
--- a/terminfo/term_wy50.go | |
+++ b/terminfo/term_wy50.go | |
@@ -13,7 +13,7 @@ func init() { | |
Clear: "\x1b+$<20>", | |
ShowCursor: "\x1b`1", | |
HideCursor: "\x1b`0", | |
- AttrOff: "\x1b(\x1bH\x0003", | |
+ AttrOff: "\x1b(\x1bH\x03", | |
Dim: "\x1b`7\x1b)", | |
Reverse: "\x1b`6\x1b)", | |
PadChar: "\x00", | |
diff --git a/terminfo/term_wy60.go b/terminfo/term_wy60.go | |
index 7427fdb..a737bb8 100644 | |
--- a/terminfo/term_wy60.go | |
+++ b/terminfo/term_wy60.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1bw1", | |
ShowCursor: "\x1b`1", | |
HideCursor: "\x1b`0", | |
- AttrOff: "\x1b(\x1bH\x0003\x1bG0\x1bcD", | |
+ AttrOff: "\x1b(\x1bH\x03\x1bG0\x1bcD", | |
Underline: "\x1bG8", | |
Dim: "\x1bGp", | |
Blink: "\x1bG2", | |
diff --git a/terminfo/term_wy99_ansi.go b/terminfo/term_wy99_ansi.go | |
index 41e31c5..6bf0d69 100644 | |
--- a/terminfo/term_wy99_ansi.go | |
+++ b/terminfo/term_wy99_ansi.go | |
@@ -12,7 +12,7 @@ func init() { | |
Clear: "\x1b[H\x1b[J$<200>", | |
ShowCursor: "\x1b[34h\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017\x1b[\"q", | |
+ AttrOff: "\x1b[m\x0f\x1b[\"q", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -26,7 +26,7 @@ func init() { | |
ExitAcs: "\x0f", | |
EnableAcs: "\x1b)0", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
- CursorBack1: "\x0010$<1>", | |
+ CursorBack1: "\b$<1>", | |
CursorUp1: "\x1bM", | |
KeyUp: "\x1bOA", | |
KeyDown: "\x1bOB", | |
diff --git a/terminfo/term_wy99a_ansi.go b/terminfo/term_wy99a_ansi.go | |
index 6cdac0d..1d7f6f2 100644 | |
--- a/terminfo/term_wy99a_ansi.go | |
+++ b/terminfo/term_wy99a_ansi.go | |
@@ -12,7 +12,7 @@ func init() { | |
Clear: "\x1b[H\x1b[J$<200>", | |
ShowCursor: "\x1b[34h\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[m\x0017\x1b[\"q", | |
+ AttrOff: "\x1b[m\x0f\x1b[\"q", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Dim: "\x1b[2m", | |
@@ -26,7 +26,7 @@ func init() { | |
ExitAcs: "\x0f", | |
EnableAcs: "\x1b)0", | |
SetCursor: "\x1b[%i%p1%d;%p2%dH", | |
- CursorBack1: "\x0010$<1>", | |
+ CursorBack1: "\b$<1>", | |
CursorUp1: "\x1bM", | |
KeyUp: "\x1bOA", | |
KeyDown: "\x1bOB", | |
diff --git a/terminfo/term_xfce.go b/terminfo/term_xfce.go | |
index 3651dd7..bb39be9 100644 | |
--- a/terminfo/term_xfce.go | |
+++ b/terminfo/term_xfce.go | |
@@ -15,7 +15,7 @@ func init() { | |
ExitCA: "\x1b[2J\x1b[?47l\x1b8", | |
ShowCursor: "\x1b[?25h", | |
HideCursor: "\x1b[?25l", | |
- AttrOff: "\x1b[0m\x0017", | |
+ AttrOff: "\x1b[0m\x0f", | |
Underline: "\x1b[4m", | |
Bold: "\x1b[1m", | |
Reverse: "\x1b[7m", | |
@@ -40,7 +40,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_xnuppc.go b/terminfo/term_xnuppc.go | |
index 3f43a50..b1dafd6 100644 | |
--- a/terminfo/term_xnuppc.go | |
+++ b/terminfo/term_xnuppc.go | |
@@ -26,6 +26,6 @@ func init() { | |
KeyDown: "\x1bOB", | |
KeyRight: "\x1bOC", | |
KeyLeft: "\x1bOD", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
}) | |
} | |
diff --git a/terminfo/term_xterm.go b/terminfo/term_xterm.go | |
index e8cb7c6..1e4d296 100644 | |
--- a/terminfo/term_xterm.go | |
+++ b/terminfo/term_xterm.go | |
@@ -41,7 +41,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", | |
diff --git a/terminfo/term_xterm_256color.go b/terminfo/term_xterm_256color.go | |
index 8eac12f..f95d21e 100644 | |
--- a/terminfo/term_xterm_256color.go | |
+++ b/terminfo/term_xterm_256color.go | |
@@ -40,7 +40,7 @@ func init() { | |
KeyLeft: "\x1bOD", | |
KeyInsert: "\x1b[2~", | |
KeyDelete: "\x1b[3~", | |
- KeyBackspace: "177", | |
+ KeyBackspace: "\u007f", | |
KeyHome: "\x1bOH", | |
KeyEnd: "\x1bOF", | |
KeyPgUp: "\x1b[5~", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is super useful. If you can leave this GIST up for a while, I'd appreciate it. (There were a bunch of terminals that had bugs apparently!)