diff options
| -rwxr-xr-x | wetter | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -119,6 +119,7 @@ main() { now=$(date -Is) lines=$( + LINES=${LINES-$(stty size | cut -d\ -f1)} lines=$((LINES - 2)) max_lines=40 min_lines=20 @@ -136,6 +137,7 @@ main() { # + 2*2 + 2*4 # y markings # + 13 # colorbox columns=$( + COLUMNS=${COLUMNS-$(stty size | cut -d\ -f2)} columns=$COLUMNS max_columns=200 min_columns=80 |
