mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
Merge pull request #23415 from zeertzjq/sigwinch-redraw
fix(tui): redraw on SIGWINCH even if size didn't change
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user