mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 02:41:54 +00:00
...
This commit is contained in:
parent
605847fd75
commit
9235d2b8e4
2 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def handle_cmd(boss, window, cmd):
|
|||
response = {'ok': True}
|
||||
if ans is not None:
|
||||
response['data'] = ans
|
||||
if not c.no_response and not cmd['no_response']:
|
||||
if not c.no_response and not no_response:
|
||||
return response
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@ def run_cmd(global_opts, cmd, func, opts, items):
|
|||
send = {
|
||||
'cmd': cmd,
|
||||
'version': version,
|
||||
'no_response': False,
|
||||
}
|
||||
if payload is not None:
|
||||
send['payload'] = payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue