fix(terminal): suppress competing context menus

Stop contextmenu propagation after recognizing selected xterm output so the native browser overlay cannot block Copy.
This commit is contained in:
2026-07-22 14:56:03 +02:00
parent 0afce741eb
commit bf561186fb
@@ -498,6 +498,8 @@ export const TerminalComponent = React.forwardRef<TerminalRef, TerminalProps>(
}
event.preventDefault();
event.stopImmediatePropagation();
event.stopPropagation();
setCopyMenu({ x: event.clientX, y: event.clientY, text: selection });
};