Initial commit; Added xterm window & go backend
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Terminal } from "xterm";
|
||||
|
||||
const term = new Terminal();
|
||||
|
||||
term.open(document.getElementById("terminal")!);
|
||||
|
||||
//@ts-ignore
|
||||
window.__WRITE_TERMINAL = (data: string) => {
|
||||
term.write(data);
|
||||
};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user