Revert "Fix #5937"

This reverts commit 4b322560c3.
Only two arguments are required to create a marker.
This commit is contained in:
pagedown 2023-01-27 23:15:13 +08:00
parent 4b322560c3
commit 8638e42135
No known key found for this signature in database
GPG key ID: E921CF18AC8FF6EB

View file

@ -29,7 +29,7 @@ class CreateMarker(RemoteCommand):
type=bool-set
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=3)
args = RemoteCommand.Args(spec='MARKER SPECIFICATION', json_field='marker_spec', minimum_count=2)
def message_to_kitty(self, global_opts: RCOptions, opts: 'CLIOptions', args: ArgsType) -> PayloadType:
if len(args) < 2: