Re: [mpg123-devel] Please test new network code in/out of mpg123 (now with HTTPS support)!
Brought to you by:
sobukus
From: Dave Y. <dav...@gm...> - 2022-05-19 01:52:36
|
On 05/18/22 08:12 AM, Thomas Orgis wrote: > OK, I forgot the playback status. The line without knowledge of terminal width can exceed 80 chars. We should prevent that, assume 80 as default limit... hm. Or even only print stat lines at all if terminal was detected. > > Please check again if you have a current build. There has to be a note about terminal width with verbosity 3 and above (mpg123 -vvv). If you pipe /tee /grep stderr, it should print -1. Ok, operator error previously. It consistently outputs "Note: stderr terminal width: 0" no matter the terminal width. > > I also just checked with term width 80 that this does not give an extra empty line: > > perl -e '$s = "x" x 80; print $s."\n"' > > Does that cause an extra line break with width 80 for you? What it does is cause an extra blank line below the xxx's before the prompt returns. Change the 80 to 79 and that line goes away. Seems that there is a CR or such printed at the end of the line so effectively it is 79 chars without scrolling. Dave |