fix(events): check for WinResized/WinScrolled in terminal mode (#27226)

This commit is contained in:
zeertzjq
2024-01-27 15:18:41 +08:00
committed by GitHub
parent 7367838359
commit bf9e92c81c
3 changed files with 21 additions and 1 deletions

View File

@@ -93,6 +93,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
typedef struct {
VimState state;
@@ -615,6 +616,8 @@ static int terminal_check(VimState *state)
curbuf->b_locked--;
}
may_trigger_win_scrolled_resized();
if (need_maketitle) { // Update title in terminal-mode. #7248
maketitle();
}