macOS: enable mode 5522 paste events

Advertise Kitty clipboard protocol mode 5522 on macOS and route
clipboard paste requests through the protocol when it is enabled.
This commit is contained in:
Mitchell Hashimoto
2026-08-24 09:37:22 -07:00
parent 75d657788a
commit c2c0db68aa
8 changed files with 133 additions and 26 deletions

View File

@@ -113,6 +113,7 @@ typedef enum {
GHOSTTY_CLIPBOARD_REQUEST_OSC_52_READ,
GHOSTTY_CLIPBOARD_REQUEST_OSC_52_WRITE,
GHOSTTY_CLIPBOARD_REQUEST_KITTY_READ,
GHOSTTY_CLIPBOARD_REQUEST_LIST,
} ghostty_clipboard_request_e;
// apprt.ClipboardReadResult