From 5097941fa96ce0c309e5f1af034993781a70fc66 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 10:09:41 +0200 Subject: tui: align list rows beyond nine items --- clients/tui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'clients/tui.h') 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); -- cgit v1.3