summaryrefslogtreecommitdiff
path: root/src/apk_print.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-07-22 12:08:35 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-07-22 12:08:35 +0300
commit6b24f3c3998a66b0e5baa4de89ed66f2b8688404 (patch)
treede0f574bf6d111e237867f5433e03728a241419f /src/apk_print.h
parent384eada8aff3e9aca3cb1c289e194aee85cbd6c2 (diff)
downloadapk-tools-6b24f3c3998a66b0e5baa4de89ed66f2b8688404.tar.gz
apk-tools-6b24f3c3998a66b0e5baa4de89ed66f2b8688404.tar.bz2
apk-tools-6b24f3c3998a66b0e5baa4de89ed66f2b8688404.tar.xz
apk-tools-6b24f3c3998a66b0e5baa4de89ed66f2b8688404.zip
apk: improve indented printing
* fixup the help messages to align up properly * refresh screen width on SIGWINCH
Diffstat (limited to 'src/apk_print.h')
-rw-r--r--src/apk_print.h2
1 files changed, 2 insertions, 0 deletions
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);