From 7a8bc6b5d2e52ce21d4529fb766779666616d1ed Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 21 Sep 2018 12:26:44 +0530 Subject: [PATCH] Fix #1001 --- kitty/cmds.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kitty/cmds.py b/kitty/cmds.py index fc5be82ec..b7f0f23b6 100644 --- a/kitty/cmds.py +++ b/kitty/cmds.py @@ -582,10 +582,20 @@ def focus_window(boss, window, payload): @cmd( 'Focus the specified tab', 'The active window in the specified tab will be focused.', - options_spec=MATCH_TAB_OPTION, + options_spec=MATCH_TAB_OPTION + ''' + +--no-response +type=bool-set +default=false +Don't wait for a response indicating the success of the action. Note that +using this option means that you will not be notified of failures. +''', argspec='', + no_response=True, ) def cmd_focus_tab(global_opts, opts, args): + if opts.no_response: + global_opts.no_command_response = True return {'match': opts.match}