...
This commit is contained in:
parent
2efb8f6dc2
commit
e1c45dc23f
1 changed files with 2 additions and 3 deletions
|
|
@ -592,9 +592,8 @@ def call_remote_control(self, active_window: Optional[Window], args: Tuple[str,
|
|||
if isinstance(payload, types.GeneratorType):
|
||||
for x in payload:
|
||||
c.response_from_kitty(self, active_window, PayloadGetter(c, x if isinstance(x, dict) else {}))
|
||||
else:
|
||||
return c.response_from_kitty(self, active_window, PayloadGetter(c, payload if isinstance(payload, dict) else {}))
|
||||
return None
|
||||
return None
|
||||
return c.response_from_kitty(self, active_window, PayloadGetter(c, payload if isinstance(payload, dict) else {}))
|
||||
|
||||
def peer_message_received(self, msg_bytes: bytes, peer_id: int) -> Union[bytes, bool, None]:
|
||||
cmd_prefix = b'\x1bP@kitty-cmd'
|
||||
|
|
|
|||
Loading…
Reference in a new issue