zsh evidently has a built in $COLUMNS var! who knew
This commit is contained in:
parent
f085638cf7
commit
9c7014bf32
@ -1,4 +1,5 @@
|
|||||||
cols=$(stty -a | grep -Po '(?<=columns )\d+' | tr -d "\n")
|
#cols=$(stty -a | grep -Po '(?<=columns )\d+' | tr -d "\n")
|
||||||
|
cols=$COLUMNS
|
||||||
|
|
||||||
function ticker_message () {
|
function ticker_message () {
|
||||||
if [[ $_zeeshdev_ticker_newlines == 0 ]]; then
|
if [[ $_zeeshdev_ticker_newlines == 0 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user