mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(cli): split tput call into separate calls
Sync definition of __DOOMGEOM in bin/doomscript with corresponding
variable of bin/doom.
* bin/doomscript (__DOOMGEOM): split tput call into two separate calls
Ref: beef0aef02
This commit is contained in:
committed by
Henrik Lissner
parent
962c643bad
commit
9f22a0a2a5
@ -58,7 +58,7 @@ fi
|
||||
# the comments at the top of bin/doom for explanations.
|
||||
export __DOOMPID="${__DOOMPID:-$$}"
|
||||
export __DOOMSTEP="$((__DOOMSTEP+1))"
|
||||
export __DOOMGEOM="${__DOOMGEOM:-$(tput cols lines 2>/dev/null)}"
|
||||
export __DOOMGEOM="${__DOOMGEOM:-$(tput cols 2>/dev/null)x$(tput lines 2>/dev/null)}"
|
||||
export __DOOMGPIPE="${__DOOMGPIPE:-$__DOOMPIPE}"
|
||||
export __DOOMPIPE=
|
||||
[ -t 0 ] || __DOOMPIPE="${__DOOMPIPE}0"
|
||||
|
Reference in New Issue
Block a user