aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/tui/tui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index 763a7c0e6d..1a8e4523b7 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -208,10 +208,11 @@ static void try_resize(Event ev)
static void sigwinch_cb(uv_signal_t *handle, int signum)
{
// Queue the event because resizing can result in recursive event_poll calls
+ // FIXME(blueyed): TUI does not resize properly when not deferred. Why? #2322
event_push((Event) {
.data = handle->data,
.handler = try_resize
- }, false);
+ }, true);
}
static bool attrs_differ(HlAttrs a1, HlAttrs a2)