summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-19 23:17:45 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-19 23:17:45 +0200
commit985ae80d7f82cef7c273fae953c73f8bd909ebef (patch)
tree18d4305e2bdd6f0069f431f2dce04a446ef216f2 /docs
parent8da6a7e849513e1cb63410d95b121df729260d0c (diff)
downloadbokf-985ae80d7f82cef7c273fae953c73f8bd909ebef.tar.gz
bokf-985ae80d7f82cef7c273fae953c73f8bd909ebef.zip
tui: backspace deletes backwards while editing; esc restores the valuev0.1.41
Diffstat (limited to 'docs')
-rw-r--r--docs/TUI-GUIDELINES.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md
index 631a516..decca09 100644
--- a/docs/TUI-GUIDELINES.md
+++ b/docs/TUI-GUIDELINES.md
@@ -70,6 +70,9 @@ written compactly as `^N`, `^A`, `^C`, `^R` to save width.
`Ctrl+U` clears it (see `field_edit`).
- First keystroke in a freshly focused field replaces its content
(`field_fresh`), so prefilled values like dates can be typed over.
+ Backspace/Del/`^U` still delete normally instead of replacing.
+- A prompt edits a scratch copy: only `Enter` commits it to the field;
+ `Esc` leaves the field exactly as it was.
- Date fields (`date_field_edit`, `date_prompt`) accept digits only and insert
the dashes themselves: type `20260315` and the field shows `2026-03-15`.
Backspace deletes a digit (with its separator), ←/→/Home/End move by digit,