Keymap › registerWindow
Unofficial
Registers keyboard and focus event listeners on a window.
Signature:
registerWindow(win: Window): () => void
Parameters:
| Parameter | Type | Description |
| win | Window | The window to register on. |
Returns: () => void — A function that unregisters the listeners.