summaryrefslogtreecommitdiff
path: root/bin/w3
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2022-09-28 08:49:02 +0200
committerMarc Vertes <mvertes@free.fr>2022-09-28 08:49:02 +0200
commit88199deb1a7e2ab390d392593d9499173b1190ba (patch)
tree81b6cabcab9a12ae0e47e6969e63557c71037e12 /bin/w3
parent0a294a82b2cf29a46cc926ceefebd2dcd34a0ab7 (diff)
update
Diffstat (limited to 'bin/w3')
-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"