diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-15 20:32:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-15 20:32:09 -0400 |
commit | f406bf5a3bb953426a00f2feac1f2863a29ab269 (patch) | |
tree | 70b1c238bae590b7f1814840ba303faa1532d8cb /lib/ui/ui.go | |
parent | 22f453f56a18da91c987baa3a47fa91f666d8b7a (diff) |
Add :quit command
Diffstat (limited to 'lib/ui/ui.go')
-rw-r--r-- | lib/ui/ui.go | 5 |
1 files changed, 0 insertions, 5 deletions
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() |