fixed counting, I think

This commit is contained in:
2025-11-24 21:21:37 -08:00
parent af8dcb847e
commit 8206ab0a40

4
main.c
View File

@@ -732,6 +732,8 @@ count_chars_from_cursor_to_mark(void)
move_cursor(ARROW_RIGHT); move_cursor(ARROW_RIGHT);
count++; count++;
} }
move_cursor(ARROW_RIGHT);
count++; count++;
} }
@@ -800,7 +802,7 @@ delete_region(void)
while (killed < count) { while (killed < count) {
move_cursor(ARROW_LEFT); move_cursor(ARROW_RIGHT);
deletech(KILLRING_NO_OP); deletech(KILLRING_NO_OP);
killed++; killed++;
} }