This commit is contained in:
Kovid Goyal 2023-01-27 15:15:47 +05:30
parent 0a4ad1fe12
commit 4b322560c3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -29,7 +29,7 @@ class CreateMarker(RemoteCommand):
type=bool-set type=bool-set
Apply marker to the window this command is run in, rather than the active window. Apply marker to the window this command is run in, rather than the active window.
''' '''
args = RemoteCommand.Args(spec='MARKER SPECIFICATION', json_field='marker_spec', minimum_count=2) args = RemoteCommand.Args(spec='MARKER SPECIFICATION', json_field='marker_spec', minimum_count=3)
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) < 2: if len(args) < 2: