aboutsummaryrefslogtreecommitdiff
path: root/docs/TUI-GUIDELINES.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/TUI-GUIDELINES.md')
-rw-r--r--docs/TUI-GUIDELINES.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md
index 46982ed..94c3b5c 100644
--- a/docs/TUI-GUIDELINES.md
+++ b/docs/TUI-GUIDELINES.md
@@ -43,7 +43,8 @@ written compactly as `^N`, `^A`, `^C`, `^R` to save width.
- Rows are numbered `NN. text`, right-aligned so 2- and 3-digit numbers line up.
- Verifikation ids are shown concatenated as `series+number` (`V-8`, `A8`),
- using the org's `default_series` (Inställningar) for new vouchers.
+ using the org's `default_series` (Bolaget → Fakturauppgifter) for new
+ vouchers.
- The last row may be an action (e.g. `+ Nytt verifikat (Ctrl+N)`); selecting it
runs the action instead of opening a detail view.
- Selection memory: lists remember the selected row by identity (voucher id),
@@ -134,11 +135,13 @@ written compactly as `^N`, `^A`, `^C`, `^R` to save width.
`BACK`, `REFRESH` or `SUBMIT` (the widget returns as on `Esc`/`F5`/
`Ctrl+Enter`). Hooks exist on `tui_form_run_hook`, `tui_rt_set_key`,
`tui_pager_hook` and `tui_select_list_hook`.
-- File browser (`file_browser`): starts in the org's `attachment_dir` (or
- `$HOME`; a leading `~` is expanded to `$HOME`), `.. (uppåt)` is the first row, directories sort first with a
- trailing `/`, hidden files are skipped. Enter enters a directory or picks a
- file; `Esc` cancels. Selected files are uploaded immediately as unlinked
- underlag and linked when the voucher is posted.
+- File browser (`file_browser`): starts in the directory where the last
+ attachment was picked (remembered in `tui.conf`), falling back to `$HOME`
+ when it is gone (a leading `~` is expanded to `$HOME`), `.. (uppåt)` is
+ the first row, directories sort first with a trailing `/`, hidden files
+ are skipped. Enter enters a directory or picks a file; `Esc` cancels.
+ Picking a file remembers its directory. Selected files are uploaded
+ immediately as unlinked underlag and linked when the voucher is posted.
## Messages