bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix backspace key in Windows console driver


From: Thomas Dickey
Subject: Re: [PATCH] Fix backspace key in Windows console driver
Date: Fri, 7 Jul 2023 03:54:32 -0400

On Thu, Jul 06, 2023 at 08:35:57PM +0300, Pavel Fedin wrote:
>  Hello! Sorry for disturbing, any progress ?

some.  I generally work on ncurses on Saturdays, unless responding to something
that packagers would regard as urgent.  The recent work on manpages took time,
as well.

On Windows, I've more than one environment to consider, and there are two
driver configurations (which treat backspace differently), and the
configuration that your patch applies to would be built in four environments
(mingw, msys2, cywin, cross-compiled) on Windows 10 and 11. 

I have to consider not only whether your patch is an appropriate fix, but also
how to adapt that to the other driver configuration.

For development/testing of this feature, my configuration was unsatisfactory
(Windows 10 and 11 have only made the process for running console windows
more cumbersome), so I spent some time altering that to use the fallback
terminal descriptions more consistently.
 
> On 23.06.2023 0:13, Thomas Dickey wrote:
> > On Fri, Jun 23, 2023 at 12:08:38AM +0300, Pavel Fedin wrote:
> > >   Hello everyone!
> > > 
> > > Windows console reports both VK_BACK and an ASCII code of 0x7F (DEL) via
> > > native API. The driver always prefers ASCII code if present, therefore a
> > > wrong code is reported to the app.
> > > 
> > > I made this patch to fix it, i hope you find it useful.
> > thanks (will review/etc)
> > 

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]