aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 960d11c4bc2e8343f1369de43e2323ae1fcfb7c1
parent 15b856abccef75361ccd64221757c8b63ef1d441
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 21 Mar 2019 21:24:23 -0400

Enable alt screen on built-in terminal

Diffstat:
Mwidgets/terminal.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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()