Curious - wouldn't it be possible to output terminal escape characters to perform some "magic" like moving at the end of the line? Or does curl protect users by not outputting them? (I think not, because fetching a binary file by mistake sometimes garbles the output)
Re:Curl Wttr.in
by igor_chubin on Friday June 26, 2020 @03:48AM
(#23649706)
It is possible, but it brings nothing, because you don't only need to move to the end of the line but print something in between, and for that the server mush know the width of your terminal
It turns out my terminal was set at 125 characters wide and wttr.in outputs a 125 character width display.