-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Switching between insert and normal mode clears the previous line on macOS #234
Comments
The behavior I'm experiencing is the similar to #181 |
Untitled.mov |
Hi @MonstrousOgre, Thanks for your reporting, could you explore a minimum Thanks & Regards |
@jeffreytse thanks for your response! I tried what you asked and narrowed it down to these 3 lines that are causing the problem. Removing any one of them fixes it, but then I lose some features.
|
Update: The reason it wasn't happening on my Arch machine is because the AUR package was on version Looks like a problem with a recent commit. |
So I ended up doing a git bisect to see which commit started the issue. This is what I ended up with
Looks like fixing the zsh-syntax-highlighting caused some other issue. My issue is only happening if |
So this problem is happening because both |
This issue was caused by double calling the `reset-prompt` function after hooking that function, we should avoid it by further checking if the same function was called. This also caused some compatibility issues with other plugins like `zsh-syntax-highlighting <=0.7.1`.
Related to #124 |
Hi @MonstrousOgre, Thanks for your reporting, I've addressed the root cause and fixed it. Thanks & Regards |
Thanks! It's working fine |
General information
Basic examination
Problem description
When I have both ZVM and starship prompt enabled, switching between normal and insert mode clears the line above. It doesn't happen when I have only ZVM or only starship enabled. Also doesn't happen when I use starship with just
bindkey -v
. This also seems to be happening only on my mac. I can't reproduce this on my desktop which has Arch Linux. I have zvm installed using homebrew.Reproduction steps
Expected behavior
It should switch between modes without clearing anything.
The text was updated successfully, but these errors were encountered: