From 8206ab0a4095bed715d71f69cdbb93d383824cf7 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 24 Nov 2025 21:21:37 -0800 Subject: [PATCH] fixed counting, I think --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 6d3ba60..51e6297 100644 --- a/main.c +++ b/main.c @@ -732,6 +732,8 @@ count_chars_from_cursor_to_mark(void) move_cursor(ARROW_RIGHT); count++; } + + move_cursor(ARROW_RIGHT); count++; } @@ -800,7 +802,7 @@ delete_region(void) while (killed < count) { - move_cursor(ARROW_LEFT); + move_cursor(ARROW_RIGHT); deletech(KILLRING_NO_OP); killed++; }