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
alt-left/right overwrites fish_prompt without clearing trailing characters #3550
Comments
This seems related to #3537, since it also only seems to occur with a multi-line prompt. |
I looked at the that thread earlier, but it didn't strike me as being related. This is probably a dupe, and the most elegant workaround is a single-line prompt. |
Can I change the color of the prompt twice on the same line? I want to distinguish between the cwd path and '$'. |
Hm, I added |
Works for me:
Note that mutating the PWD can be done more efficiently but I'll leave that as an exercise for the student. Hint: start by using |
Thanks! Much appreciated. |
Can't reproduce in master, there've been a lot of changes since this was reported. Closing! |
It's broken in 3.1.2 but fixed in 3.2.0. |
I have a simple prompt:
When I alt-left from
~/src/llvm/tools/polly/test/ScopDetect
to~/src/jsoncpp
, my prompt is mangled:Not sure how to work around this except by padding the path with trailing spaces?
The text was updated successfully, but these errors were encountered: