From b20a4f1456e7d9aa4710db7eef29d72a6d3c40d8 Mon Sep 17 00:00:00 2001 From: Trent Huber Date: Sat, 8 Nov 2025 04:41:56 -0500 Subject: [PATCH] Arrow key bug fix --- src/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input.c b/src/input.c index a0940d3..0e5e906 100644 --- a/src/input.c +++ b/src/input.c @@ -221,6 +221,8 @@ int userinput(struct context *c) { cursor = oldcursor; while (cursor != start) moveleft(); + putchar('\r'); + prompt(); while (cursor < end || cursor < oldend) moveright(); while (cursor != end) moveleft(); -- 2.51.0