diff --git a/src/common.tsx b/src/common.tsx index 10a3d8b..411e1fd 100644 --- a/src/common.tsx +++ b/src/common.tsx @@ -268,10 +268,33 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string function openTerminalWindow(websocketUrl: string) { const terminalWindow = window.open('', '', 'width=800,height=600'); if (terminalWindow) { - terminalWindow.document.write('
'); + terminalWindow.document.write(''); terminalWindow.document.title = "Terminal"; - createRoot(terminalWindow.document.getElementById('terminal-root')!).render(