You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behavior of autocompletion action is weird. On success, it display the input as marked. On multiple option, it does the same. On failure, it does not indicate anything.
I have a vague idea on how to make it better.
a) rewrite globit.c in true C++ to get rid of the GOTO hell, and to collect output of multiple glob() rounds
b) indicate error as color change of the input line. Maybe red background? Or red font? Anyone having good arguments?
c) indicate multiple options by displaying them behind the cursor, with darker font (or lighter? Or just an average color, mean value of background and font?), maybe highlighting the first deviating letter after the length of entered prefix string with some color. Orange?
The text was updated successfully, but these errors were encountered:
And some related refactoring, less nesting and pointless value passing.
Also not interpreting directories as final match.
Addressing part of #297, a proposal displaying solution is yet to come.
b) Maybe draw in inverse colors for half a second?
c) Maybe a choice of possible deviating letters like tint|<Tab> -> tint|[23],
where the choice [23] is selected and overwritten.
The current behavior of autocompletion action is weird. On success, it display the input as marked. On multiple option, it does the same. On failure, it does not indicate anything.
I have a vague idea on how to make it better.
a) rewrite globit.c in true C++ to get rid of the GOTO hell, and to collect output of multiple glob() rounds
b) indicate error as color change of the input line. Maybe red background? Or red font? Anyone having good arguments?
c) indicate multiple options by displaying them behind the cursor, with darker font (or lighter? Or just an average color, mean value of background and font?), maybe highlighting the first deviating letter after the length of entered prefix string with some color. Orange?
The text was updated successfully, but these errors were encountered: