Allow the set_tab_title action to take an argument

This commit is contained in:
Kovid Goyal
2022-08-29 20:11:18 +05:30
parent 9eabc9ecf1
commit 5b28aed0b1
2 changed files with 10 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ def detach_tab_parse(func: str, rest: str) -> FuncArgsType:
return func, (rest,)
@func_with_args('set_background_opacity', 'goto_layout', 'toggle_layout', 'kitty_shell', 'show_kitty_doc')
@func_with_args('set_background_opacity', 'goto_layout', 'toggle_layout', 'kitty_shell', 'show_kitty_doc', 'set_tab_title')
def simple_parse(func: str, rest: str) -> FuncArgsType:
return func, [rest]