13 May 2024 1:30:28 pm NightStrike <nightstr...@gmail.com>:
On Thu, May 9, 2024 at 1:03 PM Peter Damianov <peter0...@disroot.org>
wrote:
Windows terminal and mintty both have support for link escape
sequences, and so
auto_enable_urls shouldn't be hardcoded to false. For older versions
of the
windows console, mingw_ansi_fputs's console API translation logic does
mangle
these sequences, but there's nothing useful it could do even if this
weren't
the case, so check if the ansi escape sequences are supported at all.
conhost.exe doesn't support link escape sequences, but printing them
does not
cause any problems.
Are there any issues when running under the Wine console, such as when
running the testsuite?
I installed wine and gave compiling a file emitting a warning a try.
Unfortunately, yes, gcc emits mangled warnings here. Even simply running
this patch under wine causes problems, it's not just wine's conhost.exe.
I'm not sure whether it's my fault or wine's. I've attached two
screenshots demonstrating exactly what happens. (I think???) wine should
only be advertising that it supports those settings regarding escape
sequences if it actually does. Also, on this machine, wine is near
unusably slow, I'm talking multiple seconds to react to a keypress
through the wine conhost. I will not be attempting to run the testsuite,
I severely doubt it will work.