Re: [RFC v4 1/1] i-search functionality for mconf

From: Randy Dunlap
Date: Fri Jun 08 2018 - 20:59:45 EST


On 06/08/2018 11:46 AM, Dirk Gouders wrote:
> This patch prototypes isearch functionality for mconf based on an idea of
> Sam Ravnborg:
>
> * mconf now distinguishes if the focus is on the menu items or the
> buttons below it.
>
> * At startup focus is on the menu items and alphanumeric
> characters or space entered are used to form a string that is
> searched for.
>
> * BACKSPACE is used to remove the last character of the search string.
>
> * ENTER can be used to enter a submenu.
>
> * Horizontal arrow keys put focus on the buttons with the known
> behavior.
>
> * The TAB key is now exclusively used to toggle the focus.
>
> * Vertical arrow keys work anywhere.
>
> * When the focus is on the buttons, all keys (e.g. hotkeys) work the
> same as before this change.
>
> * '\' can be used to search for other occurences of an already entered
> string.
>
> * To use y|n|m on an item, focus has to be on the buttons.
>
> An example to navigate into the USB support menu under Device Drivers:
>
> 1) de # Navigates to the item "Device Drivers"
> 2) ENTER # Enter the submenu
> 3) USB # Navigate to the item "USB support"
> 4) ENTER # Enter the submenu

Hi Dirk,

Much like Sam, I got locked in isearch mode. The TAB key would not switch
into the buttons focus. I had to kill it.


--
~Randy