aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tcell/terminfo/term_xterm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maunium.net/go/tcell/terminfo/term_xterm.go')
-rw-r--r--vendor/maunium.net/go/tcell/terminfo/term_xterm.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/maunium.net/go/tcell/terminfo/term_xterm.go b/vendor/maunium.net/go/tcell/terminfo/term_xterm.go
index aeb89ce..a2e42b2 100644
--- a/vendor/maunium.net/go/tcell/terminfo/term_xterm.go
+++ b/vendor/maunium.net/go/tcell/terminfo/term_xterm.go
@@ -12,8 +12,8 @@ func init() {
Colors: 8,
Bell: "\a",
Clear: "\x1b[H\x1b[2J",
- EnterCA: "\x1b[?1049h",
- ExitCA: "\x1b[?1049l",
+ EnterCA: "\x1b[?1049h\x1b[22;0;0t",
+ ExitCA: "\x1b[?1049l\x1b[23;0;0t",
ShowCursor: "\x1b[?12l\x1b[?25h",
HideCursor: "\x1b[?25l",
AttrOff: "\x1b(B\x1b[m",
@@ -43,7 +43,7 @@ func init() {
KeyLeft: "\x1bOD",
KeyInsert: "\x1b[2~",
KeyDelete: "\x1b[3~",
- KeyBackspace: "\u007f",
+ KeyBackspace: "\xff",
KeyHome: "\x1bOH",
KeyEnd: "\x1bOF",
KeyPgUp: "\x1b[5~",