...
This commit is contained in:
parent
6faa908733
commit
d4b67f3b6a
@ -30,7 +30,7 @@ class GotoLayout(RemoteCommand):
|
|||||||
' You can use special match value :code:`all` to set the layout in all tabs.'
|
' You can use special match value :code:`all` to set the layout in all tabs.'
|
||||||
)
|
)
|
||||||
options_spec = MATCH_TAB_OPTION
|
options_spec = MATCH_TAB_OPTION
|
||||||
args = RemoteCommand.Args(spec='LAYOUT_NAME', count=1, completion={'names': ('Layouts', layout_names)}, json_field='layout')
|
args = RemoteCommand.Args(spec='LAYOUT_NAME', count=1, completion={'names': ('Layouts', layout_names)}, json_field='layout', args_choices=layout_names)
|
||||||
|
|
||||||
def message_to_kitty(self, global_opts: RCOptions, opts: 'CLIOptions', args: ArgsType) -> PayloadType:
|
def message_to_kitty(self, global_opts: RCOptions, opts: 'CLIOptions', args: ArgsType) -> PayloadType:
|
||||||
if len(args) != 1:
|
if len(args) != 1:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user