seems like 'NormalYankDelete' functions need to yank one character more than the deletion range, so implement that, and make note to add tests for that module

This commit is contained in:
2026-01-23 21:08:12 +00:00
parent 8b46f1edfc
commit faa15866f8
3 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ structure NormalYankDelete =
fun initMsgs (low, length, buffer) = fun initMsgs (low, length, buffer) =
let let
val str = LineGap.substring (low, length, buffer) val str = LineGap.substring (low, length + 1, buffer)
val msg = YANK str val msg = YANK str
in in
[DRAW msg] [DRAW msg]

BIN
shf-rgfw

Binary file not shown.

View File

@@ -1,3 +1,4 @@
# To-do list # To-do list
- Bind gamepad functions from GLFW and/or RGFW - Bind gamepad functions from GLFW and/or RGFW
- Implement 'yj' motion and add tests for it - Implement 'yj' motion and add tests for it
- Add tests for NormalYankDelete functions, to make sure that they are yanking the expected string.