default to input mode of InputEsc

This commit is contained in:
Jesse Duffield 2018-06-05 18:43:28 +10:00
parent c055c87ae8
commit 92551286ea

2
gui.go
View File

@ -356,7 +356,7 @@ func (g *Gui) MainLoop() error {
}() }()
inputMode := termbox.InputAlt inputMode := termbox.InputAlt
if g.InputEsc { if true { // previously g.InputEsc, but didn't seem to work
inputMode = termbox.InputEsc inputMode = termbox.InputEsc
} }
if g.Mouse { if g.Mouse {