diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/terminal.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go index 24925ae3..4a06c1b6 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -140,6 +140,7 @@ func NewTerminal(cmd *exec.Cmd) (*Terminal, error) { screen.OnDamage = term.onDamage screen.OnMoveCursor = term.onMoveCursor screen.OnSetTermProp = term.onSetTermProp + screen.EnableAltScreen(true) screen.Reset(true) state := term.vterm.ObtainState() |