v0.7.0: key bindings — TDD (RED→GREEN)

Ctrl+U clear line, Ctrl+W delete word, Ctrl+A/E home/end,
Ctrl+L redraw, Ctrl+D quit empty, Ctrl+X+E editor.
2 TDD tests (3 assertions), 100% pass.

Fixed paren bug in init-state (:dirty outside list).
This commit is contained in:
2026-05-08 11:05:49 -04:00
parent c8964d0249
commit 30913bf327
6 changed files with 218 additions and 3 deletions

View File

@@ -132,6 +132,7 @@ See *tui-theme-presets* for named presets (dark, light, solarized, gruvbox).")
:input-buffer nil :input-history nil :input-hpos 0
:messages (make-array 16 :adjustable t :fill-pointer 0)
:scroll-offset 0 :busy nil :cursor-pos 0
:pending-ctrl-x nil
:dirty (list nil nil nil))))
#+end_src