fix(tui): make :restart use new size after terminal resize (#34282)

This commit is contained in:
zeertzjq
2025-06-03 08:18:04 +08:00
committed by GitHub
parent 304a9baebd
commit 049877d379
3 changed files with 74 additions and 86 deletions

View File

@@ -202,6 +202,8 @@ void ui_client_set_size(int width, int height)
ADD_C(args, INTEGER_OBJ((int)height));
rpc_send_event(ui_client_channel_id, "nvim_ui_try_resize", args);
}
tui_width = width;
tui_height = height;
}
UIClientHandler ui_client_get_redraw_handler(const char *name, size_t name_len, Error *error)