-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething that's not working as intendedSomething that's not working as intended
Milestone
Description
$ fish --version
fish, version 3.2.2
$ echo $version
3.2.2
$ lsb_release -d
Description: Arch Linux
$ uname -a
Linux marmot 5.12.13-arch1-2 #1 SMP PREEMPT Fri, 25 Jun 2021 22:56:51 +0000 x86_64 GNU/Linux
$ echo $TERM
xterm-kittyHey, I just enabled vi-mode for the first time and stumbled upon this little bug with the mode indicator.
If you are in normal/default mode and cancel the current input with ctrl-c the shell prints a new prompt in the next line as expected but does not update the mode indicator.
As far as I can tell this also happens in the newest version and I am pretty sure the problem is a missing repaint-mode in the following line:
| bind -s --preset -m insert \cc cancel-commandline |
After changing the line to
bind -s --preset -m insert \cc cancel-commandline repaint-modethe mode indicator behaves as expected.
zanchey and krobelus
Metadata
Metadata
Assignees
Labels
bugSomething that's not working as intendedSomething that's not working as intended