Use whole width if needed.

This commit is contained in:
visionmercer 2026-09-18 11:55:46 +02:00
commit eb50085052

View file

@ -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