-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better display and completion of hints #406
Comments
See Line 496 in be20cfa
You can associate let mut rl = Editor::with_config(config);
rl.bind_sequence(KeyPress::Ctrl('E'), Cmd:: CompleteHint); |
See highlight_hint |
Thank you! I solved my issues 2 & 3 with I appreciate the PR you linked would solve my issue n. 1. However, I still think |
Assuming
Hinter
is designed to work similarly to the completion mechanism offered byfish
andprompt-toolkit
, there are a couple of things that need to be adjusted:Ctrl-E
instead of (or in addition to)Right
. See Use Ctrl-E for hint completion #407.I've tried to return a colored string from the
hint
function, and it works (with some tweaks), but there's no way to change the color back to white after completion. Suggestions welcome.The text was updated successfully, but these errors were encountered: