change the way we calculate the newCursorIdx when we delete using the 'dk' motion while on the last line. We go to the buffer's last line and find the first column. This more directly expresses what we want and now passes the failing unit test for 'dk'.

This commit is contained in:
2025-09-25 14:59:29 +01:00
parent 05abecc70d
commit b31d7650a8
2 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
hello
world
world
hello