Enable alt screen on built-in terminal
This commit is contained in:
parent
15b856abcc
commit
960d11c4bc
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue