test
This commit is contained in:
parent
c62c20e10a
commit
79bc99bc42
@ -274,11 +274,11 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string
|
|||||||
<script src="xterm/lib/xterm.js"></script>
|
<script src="xterm/lib/xterm.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="terminal"></div>
|
<div id="root"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`)
|
`)
|
||||||
const root = ReactDOM.createRoot(NewWindow.document.getElementById('terminal')!)
|
const root = ReactDOM.createRoot(NewWindow.document.getElementById('root') as HTMLElement)
|
||||||
root.render(<TerminalComponent websocket={websocket}/>)
|
root.render(<TerminalComponent websocket={websocket}/>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user