A new kitten to easily query kitty for config values

This commit is contained in:
Kovid Goyal
2020-10-07 13:35:16 +05:30
parent dab555ea3b
commit 6a755bda45
8 changed files with 229 additions and 26 deletions

View File

@@ -704,7 +704,8 @@ class Window:
self.refresh()
def request_capabilities(self, q: str) -> None:
self.screen.send_escape_code_to_child(DCS, get_capabilities(q))
for result in get_capabilities(q, self.opts):
self.screen.send_escape_code_to_child(DCS, result)
def handle_remote_cmd(self, cmd: str) -> None:
get_boss().handle_remote_cmd(cmd, self)