diff --git a/view.c b/view.c index ea6b70cc3..1f0ebc998 100644 --- a/view.c +++ b/view.c @@ -456,8 +456,10 @@ bool view_resize(View *view, int width, int height) { width = 1; if (height <= 0) height = 1; - if (view->width == width && view->height == height) + if (view->width == width && view->height == height) { + view->need_update = true; return true; + } size_t lines_size = height*(sizeof(Line) + width*sizeof(Cell)); if (lines_size > view->lines_size) { Line *lines = realloc(view->lines, lines_size);