From 94e16d4b32e42d2ad1b1653e2d0e0b62afbd6cee Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 29 Nov 2026 03:28:42 +0100 Subject: [PATCH] Scroll compose input to keep the cursor visible --- irc9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc9.c b/irc9.c index 2733948..c784bb9 100644 --- a/irc9.c +++ b/irc9.c @@ -2597,7 +2597,7 @@ static void draw_input(void) x += width; i += len ? (int)len : 1; } - while (saving && x >= cols && start < pos) { + while (x >= cols && start < pos) { int width; size_t len = terminal_character(text + start, (size_t)(pos - start), &width); start += len ? (int)len : 1;