Add Esc cancel support
This commit is contained in:
parent
b3be444625
commit
f9224621fa
6 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue