[ANNOUNCEMENT] cygwin 3.2.0-0.1 (TEST)
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Mar 10 11:06:08 GMT 2021
On Mar 10 03:38, André Bleau via Cygwin wrote:
> Hi,
>
> Last year, I reported a problem about console output with pcon support. For the simple test program, see:
> https://cygwin.com/pipermail/cygwin/2020-May/244742.html
>
> I was told (https://cygwin.com/pipermail/cygwin/2020-May/244745.html) that I need to inset the following lines in my program:
>
> #include <windows.h>
> ...
> DWORD mode;
> GetConsoleMode(GetStdHandle(STD_OUTPUT_HANDLE), &mode);
> mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
> SetConsoleMode(GetStdHandle(STD_OUTPUT_HANDLE), mode);
>
> It worked.
>
> Now, I just downloaded cygwin 3.2.0-0.1 and retested my program with and without the above lines. Both work correctly.
>
> Are the above lines no longer necessary? In that case, it could be
> useful to say so in the release notes.
If you have a concise, one-sentence description, I'll add it to the
release notes.
Thanks,
Corinna
More information about the Cygwin
mailing list