From 20720c832d2ab01f7e71e41aad8bec0916acd203 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Wed, 6 Jun 2018 20:55:13 +0300 Subject: [PATCH] cleanup --- ui.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui.go b/ui.go index 5a0fe90..ea3d826 100644 --- a/ui.go +++ b/ui.go @@ -796,7 +796,6 @@ func (ui *ui) readEvent(ch chan<- expr, ev termbox.Event) { } default: if ok { - // TODO: use a delay if len(ui.keyCount) > 0 { c, err := strconv.Atoi(string(ui.keyCount)) if err != nil { @@ -821,8 +820,6 @@ func (ui *ui) readEvent(ch chan<- expr, ev termbox.Event) { } case termbox.EventResize: ch <- &callExpr{"redraw", nil, 1} - default: - // TODO: handle other events } }