diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-21 21:24:23 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-21 21:24:23 -0400 |
commit | 960d11c4bc2e8343f1369de43e2323ae1fcfb7c1 (patch) | |
tree | b5597f9000766c345a10774f4557f6a0a67c464b | |
parent | 15b856abccef75361ccd64221757c8b63ef1d441 (diff) |
Enable alt screen on built-in terminal
-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 24925ae..4a06c1b 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() |