...
This commit is contained in:
parent
dc09a5183a
commit
23570cc5f7
@ -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' + '''\
|
||||||
|
|||||||
@ -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'):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user