Document the kitty remote control protocol

Fixes #1646
This commit is contained in:
Kovid Goyal
2019-06-12 13:12:53 +05:30
parent 15e8f6ad8a
commit 658be9405f
8 changed files with 149 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ from .utils import TTYIO, parse_address_spec
def handle_cmd(boss, window, cmd):
cmd = json.loads(cmd)
v = cmd['version']
no_response = cmd['no_response']
no_response = cmd.get('no_response', False)
if tuple(v)[:2] > version[:2]:
if no_response:
return