diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-19 09:34:30 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:37:23 +0100 |
| commit | 97a9054a7b1b7db1d64a07c49207df7d28d8a119 (patch) | |
| tree | 8bfc29faa381a8cf245c382103079da325d2878f | |
| parent | 3d609964319ccc50b7b3bf44bd8e704d9d3b6048 (diff) | |
| download | vis-97a9054a7b1b7db1d64a07c49207df7d28d8a119.tar.gz vis-97a9054a7b1b7db1d64a07c49207df7d28d8a119.tar.xz | |
ui: redo syntax coloring after resize
| -rw-r--r-- | ui-curses.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-curses.c b/ui-curses.c index fd55705..c336067 100644 --- a/ui-curses.c +++ b/ui-curses.c @@ -570,6 +570,7 @@ static void ui_window_resize(UiCursesWin *win, int width, int height) { if (win->winside) wresize(win->winside, height-1, win->sidebar_width); view_resize(win->view, width - win->sidebar_width, win->winstatus ? height - 1 : height); + view_update(win->view); } static void ui_window_move(UiCursesWin *win, int x, int y) { |
