mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
...
This commit is contained in:
@@ -36,7 +36,7 @@ def handle_cmd(boss, window, cmd):
|
|||||||
response = {'ok': True}
|
response = {'ok': True}
|
||||||
if ans is not None:
|
if ans is not None:
|
||||||
response['data'] = ans
|
response['data'] = ans
|
||||||
if not c.no_response and not cmd['no_response']:
|
if not c.no_response and not no_response:
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -134,6 +134,7 @@ def run_cmd(global_opts, cmd, func, opts, items):
|
|||||||
send = {
|
send = {
|
||||||
'cmd': cmd,
|
'cmd': cmd,
|
||||||
'version': version,
|
'version': version,
|
||||||
|
'no_response': False,
|
||||||
}
|
}
|
||||||
if payload is not None:
|
if payload is not None:
|
||||||
send['payload'] = payload
|
send['payload'] = payload
|
||||||
|
|||||||
Reference in New Issue
Block a user