From 8e76565c9cb274ab5ac7d77095c872b77c953da1 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 8 Jul 2026 09:23:10 +0000 Subject: [PATCH] Keep all modes except cursor during redraw, GitHub issue 5337 from Ayman Bagabas. --- screen-redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen-redraw.c b/screen-redraw.c index 9e389be91..6e8b65b76 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1667,7 +1667,7 @@ redraw_draw(struct client *c, struct window_pane *wp, int flags) } } tty_sync_start(tty); - tty_update_mode(tty, 0, NULL); + tty_update_mode(tty, tty->mode & ~CURSOR_MODES, NULL); if (wp != NULL) redraw_draw_pane_lines(&dctx, wp, flags);