summaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-23 08:56:49 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-23 08:56:49 +0200
commit2ca284619125af0d5c12e9210ff1bfc8f9122739 (patch)
treea304096c2b58492d345e71f205571b913b555a23 /docs/STATE.md
parent278d89825dcb25c4cc55891b84b96b6ca9b84354 (diff)
downloadbokf-2ca284619125af0d5c12e9210ff1bfc8f9122739.tar.gz
bokf-2ca284619125af0d5c12e9210ff1bfc8f9122739.zip
tui: one shared field editor, in-place form editing, value-only focus
Forms edit fields in place in the value column instead of a bottom prompt, highlight only the focused value and scroll when taller than the screen; long text scrolls horizontally instead of wrapping. Fixes: typing after Backspace/Del no longer wipes the field, 'q' is text in row tables, the caret resets between cells, dialogs decode arrow keys, full buffers never take half a UTF-8 character, an invalid amount stays editable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 7fccc31..fa0db74 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -14,6 +14,17 @@ unit tests and the docs consistency check.
## Resume here (2026-09-22)
+- **TUI field editing (2026-09-23, branch `eff/tui-fields`, not merged)**:
+ one shared field editor in `clients/tui.c` for forms, row-table header
+ fields and prompts. Forms edit in place in the value column (no bottom
+ prompt), only the value is highlighted, long text scrolls horizontally
+ instead of wrapping, and tall forms scroll. Bug fixes: Backspace/Del then
+ typing no longer wipes the field; `q` is text in row tables; the caret
+ resets when moving between cells; dialogs decode arrow keys (no `[A`
+ leaking into the next view); a partial UTF-8 character is never inserted
+ into a full buffer; an invalid amount stays in the field. Typing on a
+ focused row-table header field now edits that field instead of jumping
+ to the first cell. Awaits the human's Ctrl+R test.
- **Deklaration 2025/2026 (org 2, 2026-09-22)**: the imported year is closed
by the source's `Stäng intäktskonton/kostnadskonton`, so the resultatrapport
(and the INK2/SRU derived from it) showed 0. `report.income_statement` now