[PATCH] Cygwin: console: Add code to restore console mode on close.

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jan 13 16:25:00 GMT 2020


Hi Takashi,

On Jan  2 22:17, Takashi Yano wrote:
> - The console with 24bit color support has a problem that console
>   mode is changed if cygwin process is executed in cmd.exe which
>   started in cygwin shell. For example, cursor keys become not
>   working if bash -> cmd -> true are executed in this order.
>   This patch fixes the issue.

Is that supposed to work for deeper call trees as well?

I'm asking because I tried something like

  bash -> cmd -> bash -> cmd 

and it turned out that the cursor keys don't work at all in the second
cmd, while they work fine again in the first cmd when returning to it.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20200113/5cda4c7c/attachment.sig>


More information about the Cygwin-patches mailing list