This commit is contained in:
Kovid Goyal 2022-10-19 07:45:27 +05:30
parent 03fe928e3f
commit 5c34f16ab4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -277,7 +277,7 @@ def write_remote_control_protocol_docs() -> None: # {{{
from kitty.rc.base import (
RemoteCommand, all_command_names, command_for_name
)
field_pat = re.compile(r'\s*([a-zA-Z0-9_+/]+)\s*:\s*(.+)')
field_pat = re.compile(r'\s*([^:]+?)\s*:\s*(.+)')
def format_cmd(p: Callable[..., None], name: str, cmd: RemoteCommand) -> None:
p(name)