From f406bf5a3bb953426a00f2feac1f2863a29ab269 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 15 Mar 2019 20:32:09 -0400 Subject: Add :quit command --- lib/ui/ui.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib') diff --git a/lib/ui/ui.go b/lib/ui/ui.go index 8fabf59..eb86e70 100644 --- a/lib/ui/ui.go +++ b/lib/ui/ui.go @@ -65,11 +65,6 @@ func (state *UI) Tick() bool { select { case event := <-state.tcEvents: switch event := event.(type) { - case *tcell.EventKey: - // TODO: temporary - if event.Key() == tcell.KeyEsc { - state.Exit = true - } case *tcell.EventResize: state.screen.Clear() width, height := event.Size() -- cgit v1.2.3