Current text at cursor updated to Some.Very.Very.Very.Very.Long.Prefix.Folder.With
Actual behavior
A list of folders is displayed (no menu) and the text at the cursor is not updated.
Presumably, there is too much data to render a menu and MenuComplete tries to fall back to the Complete function, but it seems to not do this correctly.
I would expect the text at cursor to be updated to the longest unique value (as described in the docs)
The text was updated successfully, but these errors were encountered:
This is the by design behavior. It's not falling back to Complete, but falling back to the "Display all xxx possibilities? (y or n)" UI, which is also used by Complete. For Complete, the step that completes to the longest unique sub-string is done before getting to the "Display all possibilities" UI.
Prerequisites
Exception report
N/AScreenshot
Environment data
Steps to reproduce
Create many sub-folders (or files), e.g.
Set MenuComplete as handler
Type:
ls Som<TAB>Expected behavior
Same as when
i.e.
Current text at cursor updated to
Some.Very.Very.Very.Very.Long.Prefix.Folder.WithActual behavior
A list of folders is displayed (no menu) and the text at the cursor is not updated.
Presumably, there is too much data to render a menu and MenuComplete tries to fall back to the
Completefunction, but it seems to not do this correctly.I would expect the text at cursor to be updated to the longest unique value (as described in the docs)
The text was updated successfully, but these errors were encountered: