mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
the args for KeyAction are not just strings
This commit is contained in:
@@ -1016,7 +1016,7 @@ class Window:
|
||||
self.current_marker_spec = key
|
||||
|
||||
def set_marker(self, spec: Union[str, Sequence[str]]) -> None:
|
||||
from .config import parse_marker_spec, toggle_marker
|
||||
from .options.utils import parse_marker_spec, toggle_marker
|
||||
from .marks import marker_from_spec
|
||||
if isinstance(spec, str):
|
||||
func, (ftype, spec_, flags) = toggle_marker('toggle_marker', spec)
|
||||
|
||||
Reference in New Issue
Block a user