feat(sidebar): add dialogue selection and copying (#238)

This commit is contained in:
sudacode authored and GitHub committed 2026-09-07 14:03:54 -07:00
1 parent c14c690875
commit 1e5d7747b4
24 files changed
+624 -3

No files matched your search

@@ -37,6 +37,15 @@ export function handleOverlayWindowBeforeInputEvent(options: {
if (options.kind === 'modal') return false;
if (!options.windowVisible) return false;
// The renderer decides whether Copy targets selected sidebar text or the live cue.
if (
(options.input.control || options.input.meta) &&
!options.input.alt &&
!options.input.shift &&
(options.input.code === 'KeyC' || options.input.key.toLowerCase() === 'c')
)
return false;
if (isKeyboardModeToggleInput(options.input)) {
options.preventDefault();
options.sendKeyboardModeToggleRequested();