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
The last character in the first line of my custom prompt is missing #8002
Comments
I can't reproduce this, and it depends on which terminal you are using. This appears to be tmux, but what's the outer terminal? What is your tmux configuration? If you just do set -l status_color green
echo (set_color -r $status_color)" $status "(set_color normal) What does that look like? Also, if you want prompt things to appear on the right, you should just be using the |
I can reproduce the problem using the following terminals:
I don’t have any custom tmux configuration. The result of your code looks OK. Also, if I type and run As for |
Ugh. If your prompt is exactly the width of the screen, then in some terminals, the |
Ah ha, we can cheat by just clearing the line first, before outputting its contents. Easy fix! |
Verified the fix with alacritty and VSCode; please reopen if you still see it |
Fish version: 3.2.2.
This issue does not happen for fish 3.0.2 and 3.1.0.
I have a custom prompt for my fish shell:
It should look like this (fish 3.1.0):
Instead, a space is missing in the first line (notice the space after the green background “0”):
Also, even for fish 3.2.2, this problem does not happen if it is running inside a tmux panel:
The text was updated successfully, but these errors were encountered: