d4e63af vsh: Prune string list returned by completer

Authored and Committed by mprivozn 6 years ago
1 file changed. 42 lines added. 1 lines removed.
    vsh: Prune string list returned by completer
    
    Instead of having completers prune returned string list based on
    user's input we can do that right after the callback is called.
    Only strings matching the prefix will be presented to the user
    then.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+42 -1