From ae8ec99d5c64d9d29f11c4f0e622fff0ae0f1b5e Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Mon, 13 Jun 2022 00:14:35 +0200 Subject: [PATCH] fix scrollback redraw not updating linecount --- src/fe-text/textbuffer-commands.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c index f30eab0e..6ed7c39c 100644 --- a/src/fe-text/textbuffer-commands.c +++ b/src/fe-text/textbuffer-commands.c @@ -393,6 +393,7 @@ static void cmd_scrollback_redraw(void) term_refresh_freeze(); textbuffer_view_reset_cache(gui->view); + textbuffer_view_resize(gui->view, gui->view->width, gui->view->height); gui_window_redraw(active_win); term_refresh_thaw(); }