mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Also report the payload for graphics commands
This commit is contained in:
@@ -208,7 +208,7 @@ class TestParser(BaseTest):
|
||||
k.setdefault(f, 0)
|
||||
p = k.pop('payload', '').encode('utf-8')
|
||||
k['payload_sz'] = len(p)
|
||||
return ('graphics_command', k)
|
||||
return ('graphics_command', k, p)
|
||||
|
||||
def t(cmd, **kw):
|
||||
pb('\033_G{};{}\033\\'.format(cmd, enc(kw.get('payload', ''))), c(**kw))
|
||||
|
||||
Reference in New Issue
Block a user