summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/w32
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/w3 b/bin/w3
index 52a6408..90cc29c 100755
--- a/bin/w3
+++ b/bin/w3
@@ -1,6 +1,6 @@
#!/bin/sh
cols=$(stty -a|awk -F "[ ;]" '{print $9; exit}')
-stty cols 72
+[ $cols -gt 72 ] && stty cols 72
w3m "${@:-https://ddg.gg/lite/}"
stty cols "$cols"