Enable alt screen on built-in terminal

This commit is contained in:
Drew DeVault 2019-03-21 21:24:23 -04:00
parent 15b856abcc
commit 960d11c4bc
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ func NewTerminal(cmd *exec.Cmd) (*Terminal, error) {
screen.OnDamage = term.onDamage screen.OnDamage = term.onDamage
screen.OnMoveCursor = term.onMoveCursor screen.OnMoveCursor = term.onMoveCursor
screen.OnSetTermProp = term.onSetTermProp screen.OnSetTermProp = term.onSetTermProp
screen.EnableAltScreen(true)
screen.Reset(true) screen.Reset(true)
state := term.vterm.ObtainState() state := term.vterm.ObtainState()