mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 17:27:39 +02:00
...
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user