From 9235d2b8e45a7567f25c647c600083b52b8530cd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Aug 2018 18:38:23 +0530 Subject: [PATCH] ... --- kitty/remote_control.py | 2 +- kitty/shell.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/remote_control.py b/kitty/remote_control.py index 64d467aaf..b653004cf 100644 --- a/kitty/remote_control.py +++ b/kitty/remote_control.py @@ -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 diff --git a/kitty/shell.py b/kitty/shell.py index 17f2af742..544869a15 100644 --- a/kitty/shell.py +++ b/kitty/shell.py @@ -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