diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-23 09:34:16 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-23 09:34:16 +0200 |
| commit | 79b27457125dc2e259783359085021eea1d26e3a (patch) | |
| tree | e5b733b642437d34d46ee34514b093daee52fcef /clients/ui.h | |
| parent | 6159042d0cb3870e6a7c6f8d9a97e175d59e6f80 (diff) | |
| download | bokf-79b27457125dc2e259783359085021eea1d26e3a.tar.gz bokf-79b27457125dc2e259783359085021eea1d26e3a.zip | |
tui: "Byt bolag" in the main menu
Reopens the org picker (cursor on the current org) and switches the
running session: the org's name, role, current fiscal year and series
are reloaded and the remembered list selections cleared. The context
reload now clears the previous org's values first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'clients/ui.h')
| -rw-r--r-- | clients/ui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/ui.h b/clients/ui.h index 8574121..884adbf 100644 --- a/clients/ui.h +++ b/clients/ui.h @@ -76,6 +76,7 @@ void kr_whole(int64_t ore, char *buf, size_t n); int parse_x_double(const char *s, double *out); void replace_x_into(const char *src, double x, char *dst, size_t cap); void app_refresh_context(struct app *a); +int select_org(struct app *a); char *rpc_dry(struct app *a, const char *cmd, const char *args); char *read_file_b64(const char *path); char *file_browser(struct app *a, const char *start_dir); |
