aboutsummaryrefslogtreecommitdiff
path: root/clients/tui.h
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 10:09:41 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 10:09:41 +0200
commit5097941fa96ce0c309e5f1af034993781a70fc66 (patch)
treeff46ced172d475046994a6c23b0cae20b693e12f /clients/tui.h
parentfed4952b5e9e6bc6f9f6ca4a30570b0b898ee953 (diff)
downloadbokf-0.1.47.tar.gz
bokf-0.1.47.zip
tui: align list rows beyond nine itemsv0.1.47
Diffstat (limited to 'clients/tui.h')
-rw-r--r--clients/tui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/tui.h b/clients/tui.h
index 7250c0b..fcab5b7 100644
--- a/clients/tui.h
+++ b/clients/tui.h
@@ -61,6 +61,7 @@ void tui_keys_setup(void);
/* --- text measure and formatting --- */
int tui_disp_width(const char *s);
int tui_disp_width_n(const char *s, size_t n);
+int tui_num_width(int n);
void tui_pad_field(char *buf, size_t cap, int width);
void tui_pad_label(char *buf, size_t n, const char *text, int width);
void tui_pad_hdr(char *buf, size_t n, int width, const char *text);