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:
parent
962c643bad
commit
9f22a0a2a5
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue