From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] cygwin 3.2.0-0.1 (TEST)
Date: Wed, 10 Mar 2021 12:06:08 +0100 [thread overview]
Message-ID: <YEioIARa8I/z/grc@calimero.vinschen.de> (raw)
In-Reply-To: <DM5PR19MB098682EB9872B14E3EE7E0C593919@DM5PR19MB0986.namprd19.prod.outlook.com>
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
next prev parent reply other threads:[~2021-03-10 11:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 11:01 Corinna Vinschen via Cygwin-announce
2021-03-10 3:38 ` André Bleau
2021-03-10 11:06 ` Corinna Vinschen [this message]
2021-03-10 11:31 ` Takashi Yano
2021-03-10 13:43 ` André Bleau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YEioIARa8I/z/grc@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).