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
commandline -f repaint breaks on multiline prompt #5860
Comments
Duplicate of #5033 |
I believe this issue is not a duplicate of #5033 despite the similar bug titles. When redrawing a multi-line prompt in this fashion, fish is positioning the prompt correctly, but failing to fully erase the old prompt. A simple fix is to put My steps to reproduce:
Then hit Ctrl-b. The prompt will now display
instead of
A fixed version of the same prompt that has no issues: |
Yes, I agree. |
This appears to be fixed as of 75dcbed 🎉 |
This lets me avoid fish-shell/fish-shell#5860.
Yep. This is actually a duplicate of #3550, I think! |
I'm using fish, version 3.0.2 on fedora 30 with gnome terminal.
I'm binding a command that changes the pwd. A simplified version is this:
function '__tmp_cd'
cd -
commandline -f repaint
end
bind \cc '__tmp_cd'
When using a multiline prompt (I'm using terlar), characters from the old prompt are visible after running the command when the new prompt is shorter than the old one.
The text was updated successfully, but these errors were encountered: