2024-04-02 23:25:21 +08:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<script src="./third-party/libv86.js"></script>
|
|
|
|
<link rel="stylesheet" href="./third-party/xterm.css" />
|
|
|
|
<script src="./third-party/xterm.js"></script>
|
|
|
|
<script type="module" defer>
|
|
|
|
"use strict";
|
|
|
|
import InstanceManager from "./js/InstanceManager.mjs"
|
|
|
|
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
2024-04-12 01:52:47 +08:00
|
|
|
window.manager = new InstanceManager({spawnRoot: document.body, term: true});
|
|
|
|
window.manager.createInstance({spawnRoot: document.body, term: true})
|
2024-04-02 23:25:21 +08:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|