bug-ncurses
[Top][All Lists]
Advanced

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

Re: dialog - super hotkey mode for menus, selecting an item automaticall


From: Thomas Dickey
Subject: Re: dialog - super hotkey mode for menus, selecting an item automatically selects ok
Date: Mon, 27 Feb 2017 04:16:40 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Feb 24, 2017 at 11:30:53PM +0100, address@hidden wrote:
> I was wondering if it's possible to add an option for menu widgets,
> to override the need to hit "OK" after selecting an item via hotkeys;
> i.e. hitting a hotkey would select the corresponding item and also
> automatically imply selecting the "OK" button.

no - the dialog program doesn't do what you appear to be asking.

hotkeys:

https://github.com/ThomasDickey/dialog-snapshots/blob/master/menubox.c#L537

ok/cancel:

https://github.com/ThomasDickey/dialog-snapshots/blob/master/menubox.c#L648

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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