|
|
@@ -148,8 +148,9 @@ export namespace Clipboard {
|
|
|
export async function copy(text: string): Promise<void> {
|
|
|
const renderer = rendererRef.current
|
|
|
if (renderer) {
|
|
|
- const copied = renderer.copyToClipboardOSC52(text)
|
|
|
- if (copied) return
|
|
|
+ // Try OSC52 but don't early return - always fall back to native method
|
|
|
+ // OSC52 may report success but not actually work in all terminals
|
|
|
+ renderer.copyToClipboardOSC52(text)
|
|
|
}
|
|
|
await getCopyMethod()(text)
|
|
|
}
|