From 985ae80d7f82cef7c273fae953c73f8bd909ebef Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sat, 19 Sep 2026 23:17:45 +0200 Subject: tui: backspace deletes backwards while editing; esc restores the value --- docs/TUI-GUIDELINES.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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, -- cgit v1.3