From a61cfeefb0599e74fc9189b189b16dd0b6d36f0f Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 00:05:51 +0200 Subject: tui: remember the focused row in forms and the bokslut hub --- docs/STATE.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index a108a52..d75f3cb 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -102,6 +102,11 @@ server/protocol/ledger only. closed or already posted year). Årsredovisning and INK2/SRU left the Rapporter menu, and Ingående balans moved from Bokföring to the dashboard's Räkenskapsår section next to Räkenskapsår. + The form widgets remember focus across runs (`int *focus` as the last + argument to `tui_form_run*`: clamped to a selectable row on entry and + written back on every return; screens own a `static int sel`), so a + sub-screen round-trip or a field save returns the highlight to the + same row. ## Pending decisions -- cgit v1.3