diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 10:24:18 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 10:24:18 +0200 |
| commit | ae60b7d2c87cc9ed6878faa57cd4233f77f6f7c3 (patch) | |
| tree | 918e717a5d226dcd54890901682a980c41d7e1d0 /docs/TUI-GUIDELINES.md | |
| parent | 5097941fa96ce0c309e5f1af034993781a70fc66 (diff) | |
| download | bokf-ae60b7d2c87cc9ed6878faa57cd4233f77f6f7c3.tar.gz bokf-ae60b7d2c87cc9ed6878faa57cd4233f77f6f7c3.zip | |
tui: pinned report headers, voucher detail headers, clamped pagingv0.1.48
Diffstat (limited to 'docs/TUI-GUIDELINES.md')
| -rw-r--r-- | docs/TUI-GUIDELINES.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md index 3bd3c65..09605e9 100644 --- a/docs/TUI-GUIDELINES.md +++ b/docs/TUI-GUIDELINES.md @@ -24,7 +24,7 @@ there. | `Ctrl+A` | Close or reopen the highlighted räkenskapsår (Räkenskapsår screen; asks for confirmation) | | `1`–`9` | In lists: jump to that row. In menus: activate that item | | `g` | Live goto: "Gå till rad/nummer:" updates the selection as you type digits (backspace steps back); Enter closes the prompt without opening anything | -| arrows, PgUp/PgDn, Home/End | Move/scroll; selection always stays visible | +| arrows, PgUp/PgDn, Home/End | Move/scroll; selection always stays visible. Pages stop at the first/last row, they never wrap | | `e` | Edit the shown object (IB, where applicable) | | `a` | Add/upload (Underlag) | | `c` | Correct (voucher detail) | @@ -193,6 +193,7 @@ formatters, interpreted by `tui_markup`): | `\x01` | line is a heading (`TUI_HEADING`) | | `\x02` | line is dimmed (`TUI_DIM`) | | `\x03` | full-width `ACS_HLINE` rule (`TUI_RULE`); the rest of the line is ignored | +| `\x04` | line is pinned as a column header: the pager keeps it visible above the scrolling body (combine with another marker, e.g. `\x04\x01`) | Report formatters mark headings, sums/derived lines and rules before the text reaches `tui_pager`; the markers never change column widths. Anything |
