Merge pull request #23415 from zeertzjq/sigwinch-redraw

fix(tui): redraw on SIGWINCH even if size didn't change
This commit is contained in:
bfredl
2023-05-06 11:48:33 +02:00
committed by GitHub
2 changed files with 27 additions and 5 deletions

View File

@@ -1529,12 +1529,11 @@ void tui_guess_size(TUIData *tui)
height = DFLT_ROWS;
}
if (tui->width != width || tui->height != height) {
tui->width = width;
tui->height = height;
tui->width = width;
tui->height = height;
ui_client_set_size(width, height);
}
// Redraw on SIGWINCH event if size didn't change. #23411
ui_client_set_size(width, height);
}
static void unibi_goto(TUIData *tui, int row, int col)