aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/PROTOCOL.md6
-rw-r--r--docs/TUI-GUIDELINES.md1
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md
index cc2cb57..009b14e 100644
--- a/docs/PROTOCOL.md
+++ b/docs/PROTOCOL.md
@@ -429,6 +429,12 @@ Mallar menu; a new fiscal year from the year picker; and maps to the editor
in Ingående balans and to file upload in Underlag. F5 is the universal
refresh. Hints show the keys per screen.
+**Ctrl+R reloads the client in place** (for hot-reloading after a rebuild):
+it re-execs the installed binary with `--org`, `--fy` and `--screen NAME`
+and carries the open session in `BOKFD_SESSION`, so the session, fiscal
+year and current top-level view come back without a new login. The same
+flags can be passed manually (`--session ID` is also accepted).
+
Still missing from the UI (API already supports): SIE export/import,
period locks, member/token administration. The TUI holds no local state
beyond the session and calls nothing but public commands.
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md
index 180c72b..322d073 100644
--- a/docs/TUI-GUIDELINES.md
+++ b/docs/TUI-GUIDELINES.md
@@ -19,6 +19,7 @@ during the session.
| `F5` | Refresh the view |
| `Esc` / `q` | Back one level. At the dashboard it does nothing — Esc never exits the app |
| `Ctrl+C` | Quit the application (closes the session). The only key that exits |
+| `Ctrl+R` | Reload the client in place: re-execs the installed binary and restores session, org, fiscal year and the current view (for after a rebuild) |
| `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 |