diff --git a/ui.go b/ui.go index 59ef829..bb18778 100644 --- a/ui.go +++ b/ui.go @@ -829,7 +829,7 @@ func (ui *ui) readEvent(ch chan<- expr, ev termbox.Event) { } } case termbox.EventResize: - ch <- draw + ch <- &callExpr{"redraw", nil, 1} default: // TODO: handle other events }