summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go')
-rw-r--r--vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go b/vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go
index e5a41fb93..b0b9b4771 100644
--- a/vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go
+++ b/vendor/github.com/gdamore/tcell/v2/terminfo/e/emacs/term.go
@@ -23,6 +23,7 @@ func init() {
SetCursor: "\x1b[%i%p1%d;%p2%dH",
CursorBack1: "\b",
CursorUp1: "\x1b[A",
+ AutoMargin: true,
})
// Emacs term.el terminal emulator term-protocol-version 0.96
@@ -57,5 +58,6 @@ func init() {
KeyEnd: "\x1b[4~",
KeyPgUp: "\x1b[5~",
KeyPgDn: "\x1b[6~",
+ AutoMargin: true,
})
}