You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Setting a mapping for the hints kitten as in the docs and using it causes all further keyboard input to be ignored until kitty is restarted.
To Reproduce
Steps to reproduce the behavior:
Set up a minimal kitty config: cat 'map ctrl+shift+p>f kitten hints --type path --program - > ~/.config/kitty/kitty.conf`.
Restart kitty
Use a default hints kitten mapping, like ctrl+shift+p>w and see that it works. Use the mapping from the config file ctrl+shift+p>f.
See that f is entered to the current shell and all further keyboard input produces a terminal bell.
Screenshots
None.
Environment details
kitty 0.32.0 (eb5dd364ae) created by Kovid Goyal
Darwin Davids-MacBook-Pro.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
ProductName: macOS ProductVersion: 14.3 BuildVersion: 23D56
Frozen: True
Paths:
kitty: /Applications/kitty.app/Contents/MacOS/kitty
base dir: /Applications/kitty.app/Contents/Resources/kitty
extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
system shell: /opt/homebrew/bin/fish
Loaded config files:
/Users/daviddunn/.config/kitty/kitty.conf
Config options different from defaults:
Removed shortcuts:
cmd+, → edit_config_file
cmd+enter → new_window
cmd+h → hide_macos_app
cmd+k → clear_terminal to_cursor active
cmd+m → minimize_macos_window
cmd+n → new_os_window
cmd+q → quit
cmd+t → new_tab
cmd+w → close_tab
ctrl+cmd+, → load_config_file
ctrl+cmd+f → toggle_fullscreen
opt+cmd+h → hide_macos_other_apps
opt+cmd+r → clear_terminal reset active
opt+cmd+s → toggle_macos_secure_keyboard_entry
shift+cmd+/ → open_url https://sw.kovidgoyal.net/kitty/
shift+cmd+[ → previous_tab
shift+cmd+] → next_tab
shift+cmd+d → close_window
shift+cmd+w → close_os_window
Changed shortcuts:
kitty_mod+p > f → kitten hints --type path --program -, kitten hints --type path, kitten hints --type line --program -, kitten hints --type word --program -, kitten hints --type hash --program -, kitten hints --type linenum, kitten hints --type hyperlink, kitten hints --type path --program -
Important environment variables seen by the kitty process:
PATH /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
LANG en_US.UTF-8
SHELL /opt/homebrew/bin/fish
USER daviddunn
Additional context
The environment details above have a suspicious value for the changed shortcut. Looks like there's a list of commands in a string somewhere that should be split on a comma.
Only a terminal bell is output (with an otherwise empty config), regardless of the keys pressed. The mouse still works. The only way I've found to get keyboard input working again is restarting kitty. The default hints kitten mappings still work, only custom mappings cause the bug. This also applies to the same mapping, eg. with an empty config ctrl+shift+p>f runs the file path hints kitten properly, but adding that mapping (the one from the docs map ctrl+shift+p>f kitten hints --type path --program -) in the config produces the bug.
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting a mapping for the hints kitten as in the docs and using it causes all further keyboard input to be ignored until kitty is restarted.
To Reproduce
Steps to reproduce the behavior:
cat 'map ctrl+shift+p>f kitten hints --type path --program -
> ~/.config/kitty/kitty.conf`.ctrl+shift+p>w
and see that it works. Use the mapping from the config filectrl+shift+p>f
.f
is entered to the current shell and all further keyboard input produces a terminal bell.Screenshots
None.
Environment details
Additional context
The environment details above have a suspicious value for the changed shortcut. Looks like there's a list of commands in a string somewhere that should be split on a comma.
Only a terminal bell is output (with an otherwise empty config), regardless of the keys pressed. The mouse still works. The only way I've found to get keyboard input working again is restarting kitty. The default hints kitten mappings still work, only custom mappings cause the bug. This also applies to the same mapping, eg. with an empty config
ctrl+shift+p>f
runs the file path hints kitten properly, but adding that mapping (the one from the docsmap ctrl+shift+p>f kitten hints --type path --program -
) in the config produces the bug.The text was updated successfully, but these errors were encountered: