Closed dnnr closed 5 months ago
@dnnr Hi, sorry for long inconvenience. I think that issue is resolved by 23e416f. Could you confirm it?
No problem at all, thanks for working on it! Sadly, I can't confirm that the change fixes the issue. Instead of only getting the failure marker when switching to normal mode, it's permanently there now.
I was also able to reproduce the problem in a fresh debian:unstable docker container running fish 3.7.0. Let me know if there's anything else I can do to help zero in on the issue.
When using fish's default prompt and vi-like keybindings, pressing Escape to enter the vi normal mode appears to inadvertently set
$status
and $pipestatus to1
.This can be observed by the red
[1]
marker that gets added to the prompt right after pressing Escape.Switching back to insert mode sets
$status
and$pipestatus
back to their original values.