mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 04:54:14 +02:00
rcp ars should be a sequnce not a set
This commit is contained in:
@@ -675,14 +675,14 @@ def config_or_absolute_path(x: str, env: Optional[Dict[str, str]] = None) -> Opt
|
||||
return resolve_abs_or_config_path(x, env)
|
||||
|
||||
|
||||
def remote_control_password(val: str, current_val: Dict[str, str]) -> Iterable[Tuple[str, FrozenSet[str]]]:
|
||||
def remote_control_password(val: str, current_val: Dict[str, str]) -> Iterable[Tuple[str, Sequence[str]]]:
|
||||
val = val.strip()
|
||||
if val:
|
||||
parts = to_cmdline(val, expand=False)
|
||||
if len(parts) == 1:
|
||||
yield parts[0], frozenset()
|
||||
yield parts[0], tuple()
|
||||
else:
|
||||
yield parts[0], frozenset(parts[1:])
|
||||
yield parts[0], tuple(parts[1:])
|
||||
|
||||
|
||||
def clipboard_control(x: str) -> Tuple[str, ...]:
|
||||
|
||||
Reference in New Issue
Block a user