• Nir Tzachar's avatar
    nconfig: add search support · a72f3e2b
    Nir Tzachar authored
    Remove the old hotkeys feature, and replace it by an interactive string
    search.
    From nconfig help:
    
    Searching: pressing '/' triggers interactive search mode.
               nconfig performs a case insensitive search for the string
               in the menu prompts (no regex support).
               Pressing the up/down keys highlights the previous/next
               matching item. Backspace removes one character from the
               match string. Pressing either '/' again or ESC exits
               search mode. All other keys behave normally.
    
    Miscellaneous other changes (including Rundy's and Justin's input).
    Signed-off-by: default avatarNir Tzachar <nir.tzachar@gmail.com>
    Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    a72f3e2b
nconf.h 1.87 KB