-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Inserting completions erases prompt #237
Comments
I bisected, and found the commit where this issue starts happening: 6f14b2f |
I am experiencing the same issue when using fzf for history search |
Seeing the same issue when using fzf for history search and control T completion. Autocompletion is not affected @b-m-f a quick fix would be: you press |
I had the same experience with fzf, but I managed to find a workaround: function dotfiles_fzf_history_widget() {
fzf-history-widget "$@";
zle .reset-prompt; # This is the workaround
}
zvm_define_widget dotfiles_fzf_history_widget;
zvm_bindkey viins '^R' dotfiles_fzf_history_widget; So the fix is that I call |
@jhthorsen, thank you for the workaround. It got fixed for |
Unfortunately not. I changed back to bash after having too many old servers that didn't have recent enough zsh for me to work efficiently. |
General information
Please report the following information as possible as you can:
Basic examination
Problem description
When trying to perform a completion, the prompt is sometimes erased. If the candidate is long enough, the completion result itself is truncated (only visually).
I think there has been a regression somewhere, because I remember that it was working just fine a few weeks ago.
Reproduction steps
starship-rs
Expected behavior
Prompt doesn't disappear
The text was updated successfully, but these errors were encountered: