-
Notifications
You must be signed in to change notification settings - Fork 125
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
Extra line on Ctrl + C on 2 line prompt (low priority) #53
Comments
This is an upstream bug. The same issue will appear with any multi-line prompt: function fish_prompt
echo foo
echo bar
end |
I'm removing upstream because this isn't really a bug from fish's perspective. I found a way to work around fish's behavior, so this issue will be fixed after the 3.0 release. |
It seems I messed up again here 😂 This was a bug from the fish maintainer's perspective: fish-shell/fish-shell#3537. It's fixed for the 3.2 release. Even more strangely is that fish 3.1.2 behaves differently on MacOS and Linux. On MacOS, things seem to be working just fine for multi-line prompt cancellation, while on Linux we see the problem this issue described. Thus, the changes I made for this issue fix things on Linux, but then make MacOS worse 🤦♂️ So I've reverted the changes meant to fix this problem. Rules for next time: check upstream first, and test both OSes. |
Describe the bug
When I press Ctrl + C on a empty prompt, it simply redraw the prompt.
When I press Ctrl + C on a prompt with some text, it redraw the prompt with a extra unwanted line (see screenshots)
Steps to reproduce
Expected behavior
A clean redraw
Screenshots
Before Ctrl + C


After Ctrl + C
Environment (please complete the following information)
tide bug-report
:The text was updated successfully, but these errors were encountered: