From 6b24f3c3998a66b0e5baa4de89ed66f2b8688404 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 22 Jul 2011 12:08:35 +0300 Subject: apk: improve indented printing * fixup the help messages to align up properly * refresh screen width on SIGWINCH --- src/apk_print.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/apk_print.h') diff --git a/src/apk_print.h b/src/apk_print.h index 3dfb13c..a88d873 100644 --- a/src/apk_print.h +++ b/src/apk_print.h @@ -21,6 +21,8 @@ void apk_log(const char *prefix, const char *format, ...); const char *apk_error_str(int error); +void apk_reset_screen_width(void); +int apk_get_screen_width(void); int apk_print_indented(struct apk_indent *i, apk_blob_t blob); void apk_print_indented_words(struct apk_indent *i, const char *text); -- cgit v1.2.3-60-g2f50