On Nov 19 17:38, Takashi Yano wrote:
> On Tue, 18 Nov 2025 13:40:32 +0100
> Corinna Vinschen wrote:
> > From: Corinna Vinschen <[email protected]>
> > 
> > Starting with Windows 11 24H2, the new function AllocConsoleWithOptions()
> > introduces what we're desperately missing since Windows 95: a simple
> > call to create an invisible console.
> > 
> > Reintroduce the old fhandler_console::create_invisible_console method we
> > have been using once up to Windows Vista, and use it now to call
> > AllocConsoleWithOptions() on systems supporting this shiny new function.
> > 
> > Signed-off-by: Corinna Vinschen <[email protected]>
> > 
> > Corinna Vinschen (2):
> >   Cygwin: wincap: add wincap entry for Windows 11 24H2
> >   Cygwin: console: (re-)introduce simple creation of invisible console
> > 
> >  winsup/cygwin/autoload.cc               |  1 +
> >  winsup/cygwin/fhandler/console.cc       | 21 ++++++++++++--
> >  winsup/cygwin/local_includes/fhandler.h |  1 +
> >  winsup/cygwin/local_includes/wincap.h   |  2 ++
> >  winsup/cygwin/wincap.cc                 | 37 ++++++++++++++++++++++++-
> >  5 files changed, 58 insertions(+), 4 deletions(-)
> 
> Both patch LGTM. I also confirmed that new create_invisible_console
> works fine in Win11 25H2.
> 
> Thanks!

Thanks for the review! Pushed.


Corinna

Reply via email to