Remove invalid trailing period in CSI u shift-space binding

(cherry picked from commit 1f130fbfe1)
This commit is contained in:
Guy Bolton King 2022-07-04 12:11:39 +01:00 committed by Johannes Altmanninger
parent a6898467ab
commit 47d45f49e4
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ fish 3.5.1 (released ???)
This release of fish fixes the following problems identified in fish 3.5.0:
- A change in the completion script for ``git`` caused problems when completing ``git blame`` or ``git -C``, which has been fixed (:issue:`9053`).
- On terminals that emit a CSI u sequence for :kbd:`Shift-Space`, fish inserts a space instead of printing an error. (:issue:`9054`).
--------------

View File

@ -188,7 +188,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
# Ctrl-space inserts space without expanding abbrs
bind --preset $argv -k nul 'test -n "$(commandline)" && commandline -i " "'
# Shift-space (CSI u escape sequence) behaves like space because it's easy to mistype.
bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expand-abbr'.
bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expand-abbr'
bind --preset $argv \n execute