aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-15 20:32:09 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-15 20:32:09 -0400
commitf406bf5a3bb953426a00f2feac1f2863a29ab269 (patch)
tree70b1c238bae590b7f1814840ba303faa1532d8cb /lib
parent22f453f56a18da91c987baa3a47fa91f666d8b7a (diff)
Add :quit command
Diffstat (limited to 'lib')
-rw-r--r--lib/ui/ui.go5
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()