feat(tui): add debug info dialog with copy to clipboard (#35004)

This commit is contained in:
Dustin Deus
2026-07-02 23:00:53 +02:00
committed by GitHub
parent 5ecd19db9f
commit 3adfb970bf
6 changed files with 127 additions and 20 deletions
+3
View File
@@ -49,6 +49,9 @@ export function Dialog(
>
<box
onMouseUp={(e: { stopPropagation(): void }) => {
// A selection release must bubble up to the copy-on-select handler in
// DialogProvider; the backdrop's dismiss flag keeps it from closing the dialog.
if (renderer.getSelection()?.getSelectedText()) return
dismiss = false
e.stopPropagation()
}}