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