cleanup
This commit is contained in:
parent
448f2a3cb2
commit
20720c832d
3
ui.go
3
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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user