From d8b0edce43f286cf18c3ef70a5bfe6e337163005 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 May 2025 14:34:10 +0530 Subject: [PATCH] Add a note that grabbing keyboard doesnt work on macOS --- kitty/simple_cli_definitions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/simple_cli_definitions.py b/kitty/simple_cli_definitions.py index 0d37eef8f..3aefd9920 100644 --- a/kitty/simple_cli_definitions.py +++ b/kitty/simple_cli_definitions.py @@ -328,6 +328,7 @@ Grab the keyboard. This means global shortcuts defined in the OS will be passed you want to create an OS modal window. How well this works depends on the OS/window manager/desktop environment. On Wayland it works only if the compositor implements the :link:`inhibit-keyboard-shortcuts protocol `. +On macOS Apple doesn't allow applications to grab the keyboard without special permissions, so it doesn't work. """ listen_on_defn = f'''\