Use whole width if needed.
This commit is contained in:
parent
670a19aae6
commit
eb50085052
1 changed files with 1 additions and 1 deletions
2
cimp.bas
2
cimp.bas
|
|
@ -460,7 +460,7 @@ while keyin<>27
|
||||||
if nooutput=0 then
|
if nooutput=0 then
|
||||||
tw=termwidth
|
tw=termwidth
|
||||||
fixedwidth=uwidth(state)+uwidth(progress)
|
fixedwidth=uwidth(state)+uwidth(progress)
|
||||||
maxtitlewidth=tw-fixedwidth-2
|
maxtitlewidth=tw-fixedwidth
|
||||||
currentsongwidth=uwidth(songname)
|
currentsongwidth=uwidth(songname)
|
||||||
|
|
||||||
if currentsongwidth>maxtitlewidth and maxtitlewidth>4 then
|
if currentsongwidth>maxtitlewidth and maxtitlewidth>4 then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue