Closed Snuggle closed 6 years ago
Hey Snuggle!
Though I am unable to reproduce the issue on my config, it looks like this issue matches one that has been opened in fish-shell
: https://github.com/fish-shell/fish-shell/issues/3537
Hopefully this will be addressed in a future fish release. 😅
Do you have a fix for this in your own fish config, since this is default behavior for 2.7.1, or do you use a single-line prompt?
I'm not completely sure why this doesn't happen on my machine. I'm running 2.7.1 with a two-line prompt. I'm thinking it may be due to how iTerm handles repainting.
I have a pretty lightweight fish.config, so I don't think I inadvertently fixed it. 🤔
Bug Report
Current Behavior If you use ^C (Ctrl + C) to prematurely cancel a command before you run it, the prompt somewhat derps out and overwrites the last line.
Expected Behavior The prompt would not overwrite the last line and it would look perfect.
Environment
fish, version 2.7.1
oh-my-fish
kitty
Solus (Linux 4.17.6, 64-bit)
Possible Solution Add an extra new line to make sure text doesn't get overwritten.
Additional context/Screenshots