summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 21b8db7..6b8c2ed 100644
--- a/src/print.c
+++ b/src/print.c
@@ -42,7 +42,7 @@ int apk_get_screen_width(void)
if (apk_screen_width == 0) {
apk_screen_width = 50;
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) == 0 &&
- w.ws_col > 50)
+ w.ws_col > 25)
apk_screen_width = w.ws_col;
}