mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-15 04:38:51 +00:00
When parsing OSC 52 clipboard control codes, handle an empty control parameter
This is apparently used by tmux. See #782
This commit is contained in:
parent
b9e6557f72
commit
0bb08d8bdd
1 changed files with 2 additions and 0 deletions
|
|
@ -395,6 +395,8 @@ class Window:
|
|||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue