Better handling of terminal length
authorSteve McIntyre <steve@einval.com>
Mon, 5 Mar 2018 12:32:41 +0000 (12:32 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 5 Mar 2018 12:32:41 +0000 (12:32 +0000)
commit2e21425c6bc43af6eccc8efe96ff5494e829726a
tree8ecbf83128ed77028a9f301bb9bbddb980c809d2
parent1d0bbb12dc1f8961c002814e3f91953e8d9384a3
Better handling of terminal length

LINES *isn't* normally set inside a script, so try to use tput to get
the number of lines or fall back to the hard-coded 24
abcde