Luflosi 1ae324691d Change keyboard shortcut selection algorithm for new_os_window on macOS
On macOS the keyboard shortcuts are visible in the menu bar. When the keyboard shortcut is used, the corresponding menu bar item flashes to indicate which action was just executed.
kitty allows defining multiple keyboard shortcuts for the same action but macOS allows only one, so kitty needs to decide which one should be handled by macOS. Currently it chooses the first keyboard shortcut with only the command key as a modifier key or the first shortcut when there are no shortcuts with only the command key as a modifier.
When a user tries to set their own keyboard shortcut (and doesn't use `clear_all_shortcuts yes`), this won't change the shortcut displayed in the menu bar since the first (default) shortcut with the command key is <kbd>⌘</kbd>+<kbd>n</kbd>.
I think simply choosing the last defined keyboard shortcut is better. This will even allow the user to specify modifier keys other than the command key while still changing the shortcut in the menu bar. This change will not change the default behaviour because all the macOS specific keyboard shortcuts are defined after the non-macOS specific ones.
2019-12-19 22:15:41 +01:00
2019-07-30 15:07:12 +05:30
2019-07-07 21:10:15 +02:00
2019-12-19 12:38:56 +01:00
2019-06-28 13:48:09 +05:30
2019-10-23 18:21:34 +05:30
2018-05-09 11:32:22 +05:30
2019-06-28 13:48:09 +05:30
2018-05-30 12:46:00 +05:30
2018-09-22 20:22:15 +02:00
2019-06-05 17:12:21 +02:00
...
2018-06-02 11:29:07 +05:30
2019-08-09 03:27:22 +02:00
2019-12-12 10:05:11 +05:30
2019-11-26 17:23:21 +01:00
2019-12-19 16:27:25 +05:30

= kitty - the fast, featureful, GPU based, terminal emulator

See https://sw.kovidgoyal.net/kitty/

image:https://circleci.com/gh/kovidgoyal/kitty.svg?style=svg["Build status", link="https://circleci.com/gh/kovidgoyal/kitty"]
Description
No description provided
Readme GPL-3.0 155 MiB
Languages
C 44.9%
Python 25.9%
Go 23.2%
Objective-C 3.6%
C++ 1.3%
Other 1.1%