This commit is contained in:
Kovid Goyal 2021-10-31 11:55:00 +05:30
parent dc09a5183a
commit 23570cc5f7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class SelectWindow(RemoteCommand):
short_desc = 'Visually select a window in the specified tab' short_desc = 'Visually select a window in the specified tab'
desc = ( desc = (
' Prints out the id of the selected window. Other commands ' 'Prints out the id of the selected window. Other commands '
' can then be chained to make use of it.' ' can then be chained to make use of it.'
) )
options_spec = MATCH_TAB_OPTION + '\n\n' + '''\ options_spec = MATCH_TAB_OPTION + '\n\n' + '''\

View File

@ -233,7 +233,7 @@ def main(args: List[str]) -> None:
send.pop('payload', None) send.pop('payload', None)
send['cancel_async'] = True send['cancel_async'] = True
do_io(global_opts.to, send, True, 10) do_io(global_opts.to, send, True, 10)
raise SystemExit(f'Timed out after {response_timeout} seconds waiting for response form kitty') raise SystemExit(f'Timed out after {response_timeout} seconds waiting for response from kitty')
if no_response: if no_response:
return return
if not response.get('ok'): if not response.get('ok'):