test
This commit is contained in:
parent
c72228328e
commit
93760559a6
@ -284,7 +284,7 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string
|
||||
<script src="xterm-addon-fit/lib/xterm-addon-fit.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="root" style="width: 100vw;height: 100vh;"></div>
|
||||
<script>
|
||||
const terminalContainer = document.getElementById('root');
|
||||
|
||||
@ -294,7 +294,7 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string
|
||||
terminal.open(terminalContainer);
|
||||
fitAddon.fit();
|
||||
|
||||
if (websocket) {
|
||||
if ("`+websocket+`") {
|
||||
const socket = new WebSocket("`+websocket+`");
|
||||
|
||||
socket.onerror = (ev) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user