diff --git a/kitty/options/types.py b/kitty/options/types.py index 559a3bb7a..2bbe94e96 100644 --- a/kitty/options/types.py +++ b/kitty/options/types.py @@ -451,7 +451,7 @@ class Options: box_drawing_scale: typing.Tuple[float, float, float, float] = (0.001, 1.0, 1.5, 2.0) clear_all_shortcuts: bool = False click_interval: float = -1.0 - clipboard_control: typing.FrozenSet[str] = frozenset({'write-clipboard', 'write-primary'}) + clipboard_control: typing.Tuple[str, ...] = ('write-clipboard', 'write-primary') close_on_child_death: bool = False @property diff --git a/kitty/options/utils.py b/kitty/options/utils.py index 08212b66b..de9c75a2b 100644 --- a/kitty/options/utils.py +++ b/kitty/options/utils.py @@ -7,8 +7,7 @@ import re import sys from typing import ( - Any, Callable, Dict, FrozenSet, Iterable, List, Optional, Sequence, Tuple, - Union + Any, Callable, Dict, Iterable, List, Optional, Sequence, Tuple, Union ) import kitty.fast_data_types as defines @@ -630,8 +629,8 @@ def allow_remote_control(x: str) -> str: return x -def clipboard_control(x: str) -> FrozenSet[str]: - return frozenset(x.lower().split()) +def clipboard_control(x: str) -> Tuple[str, ...]: + return tuple(x.lower().split()) def allow_hyperlinks(x: str) -> int: