diff --git a/kitty/window.py b/kitty/window.py index 5c92fd612..9c7e4423b 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -395,6 +395,8 @@ def send_cmd_response(self, response): def clipboard_control(self, data): where, text = data.partition(';')[::2] + if not where: + where = 's0' if text == '?': response = None if 's' in where or 'c' in where: