Add Esc cancel support

This commit is contained in:
Thales Maciel 2026-02-24 14:23:03 -03:00
parent b3be444625
commit f9224621fa
No known key found for this signature in database
GPG key ID: 33112E6833C34679
6 changed files with 19 additions and 0 deletions

View file

@ -8,6 +8,9 @@ class DesktopAdapter(Protocol):
def start_hotkey_listener(self, hotkey: str, callback: Callable[[], None]) -> None:
raise NotImplementedError
def start_cancel_listener(self, callback: Callable[[], None]) -> None:
raise NotImplementedError
def inject_text(self, text: str, backend: str) -> None:
raise NotImplementedError