mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
WT_HEIGHT changed to 17 for extra prettiness
This commit is contained in:
parent
fb7ce4c53f
commit
e335ace8df
@ -10,7 +10,7 @@ calc_wt_size() {
|
|||||||
# NOTE: it's tempting to redirect stderr to /dev/null, so supress error
|
# NOTE: it's tempting to redirect stderr to /dev/null, so supress error
|
||||||
# output from tput. However in this case, tput detects neither stdout or
|
# output from tput. However in this case, tput detects neither stdout or
|
||||||
# stderr is a tty and so only gives default 80, 24 values
|
# stderr is a tty and so only gives default 80, 24 values
|
||||||
WT_HEIGHT=20
|
WT_HEIGHT=17
|
||||||
WT_WIDTH=$(tput cols)
|
WT_WIDTH=$(tput cols)
|
||||||
|
|
||||||
if [ -z "$WT_WIDTH" ] || [ "$WT_WIDTH" -lt 60 ]; then
|
if [ -z "$WT_WIDTH" ] || [ "$WT_WIDTH" -lt 60 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user