diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-19 15:20:47 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-03-19 15:20:47 +0200 |
commit | 116d9a0ea7a5e903a344f7e6044dd019349bc01c (patch) | |
tree | 01eca1b5db71ffca39bc07951f9e0eaf17cc34e8 /src/apk_defines.h | |
parent | 7b6e44b11b4b419a6af91555270b1ddc981c5a74 (diff) | |
download | apk-tools-116d9a0ea7a5e903a344f7e6044dd019349bc01c.tar.gz apk-tools-116d9a0ea7a5e903a344f7e6044dd019349bc01c.tar.bz2 apk-tools-116d9a0ea7a5e903a344f7e6044dd019349bc01c.tar.xz apk-tools-116d9a0ea7a5e903a344f7e6044dd019349bc01c.zip |
apk: improve progress bar
* make it as wide as the screen
* make sure it's drawn after package change
* and draw it using ansi escapes in line buffered stderr
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index b11d181..b5ad12e 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -51,6 +51,7 @@ extern int apk_verbosity; extern unsigned int apk_flags; extern const char *apk_arch; extern char **apk_argv; +extern int apk_screen_width; #define APK_FORCE 0x0001 #define APK_SIMULATE 0x0002 |