This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Themes with prompt on their own line add extra space when interrupting FZF #4122
Labels
🐛 bug
Something isn't working
Code of Conduct
What happened?
When interrupting FZF's "PSReadlineChordReverseHistory" functionality (CTRL-R mapping), extra space can sometimes (easy to reproduce) add before the prompt just like on the following screen capture (theme here is
amro
):You can see here that the space highlighted in red shouldn't be there as normal prompt should look like this:
Notice how the space goes away once you call back
pwsh.exe
.Here is a screen shot of a call to the FZF PSReadlineChordReverseHistory functionality:
Notice that I used another such theme where the prompt is not on the same line as the extra info, but on its own line. While FZF is running here, we can hit
ctrl-c
to interrupt. If you do that very rapidly (ctrl-r
, thenctrl-c
and repeat), then at some point, you end up with this:Let me also add that this does not happen when the theme does not have its prompt on its own line. For instance, I'm unable to reproduce this with the theme aliens.
Theme
Any theme that has its prompt on its own line seems to make this.
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
The text was updated successfully, but these errors were encountered: