Re: [PATCH/RFC] kconfig/lxdialog: make lxdialof a built-in

From: Sam Ravnborg
Date: Sat Jul 29 2006 - 16:51:51 EST


On Fri, Jul 28, 2006 at 04:09:03PM +0200, Roman Zippel wrote:

> > The double ESC ESC thing I dunno how to fix.
>
> I think the easiest would be to just ignore the first ESC, it matches the
> documented behaviour and e.g. mc has the same behaviour. The delay of the
> single ESC makes it a bit annoying/confusing to use, so that sticking to
> the double ESC is IMO safer.
> I played with it a little and below is an example, which implements this
> behaviour for the menu window.

It became a bit more complicated to support ESC-space resulting in
space. That makes sense since one press ESC - wonder what is going on
and then press space (for example).
It does not support ESC-left (or any other key that generate meta
chars).

Sam