Default to 1024 colums (pretty much no truncation)

This commit is contained in:
Mattia Basaglia 2016-05-18 23:04:11 +01:00
parent b87969a264
commit 1395293733

View file

@ -347,7 +347,7 @@ if [ -f "$ponyfile" ]
then then
lines=$(cat "$ponyfile" | wc -l) # cat to avoid printing file name lines=$(cat "$ponyfile" | wc -l) # cat to avoid printing file name
let info_index=0 let info_index=0
COLUMNS=$(tput cols) COLUMNS=$(tput cols || echo 1024)
if [ "${info_firstx[$PONY]}" ] if [ "${info_firstx[$PONY]}" ]