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
@ -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…
x
Reference in New Issue
Block a user