holo-routing / holo-cli

`holo` Command Line Interface
MIT License
0 stars 2 forks source link

"NOT FOUND "completion behavior in menu when there is only matching 1 suggestion #6

Closed frederic-loui closed 2 months ago

frederic-loui commented 2 months ago

holo-cli does not have an expected behavior while completing word when there is only one matching solution.

Example with interfaces -> interface -> <interface-name> ->ip<?>:

Here completion 2 alternatives: multiple-selection-completion

The last completion should complete to ipv4: last-selection-completion

However, this is a general problem, when only there is one suggestion left in the completion list and that the cursor postion is right fater the matching word, the menu shows NO RECORDS FOUND. (It should be NO RECORD FOUND BTW)

rwestphal commented 2 months ago

Closed by #7