mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Use 1 rather than 0 as the keycode for the special mouse click key in fish
zero is used for key events from the wayland text input system that have only text and no associated key
This commit is contained in:
@@ -99,8 +99,8 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
||||
set suffix '-passive'
|
||||
end
|
||||
for mode in (bind --list-modes | string match -v paste) # bind in all modes except paste
|
||||
bind --preset -M "$mode" \e\[0u "forward-char$suffix"
|
||||
bind --preset -M "$mode" \e\[0\;1u "backward-char$suffix"
|
||||
bind --preset -M "$mode" \e\[1u "forward-char$suffix"
|
||||
bind --preset -M "$mode" \e\[1\;1u "backward-char$suffix"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user