master
Selcuk Sari 4 years ago
parent e42849dc1b
commit 9039fc3415

@ -16,6 +16,6 @@ app.get("/", function (req, res) {
}); });
// Start Server // Start Server
app.listen(3000, function () { app.listen(3001, function () {
console.log("Server started on port 3000..."); console.log("Server started on port 3000...");
}); });

@ -1,11 +1,11 @@
// import { Terminal } from "xterm"; // import { Terminal } from "xterm";
import { Terminal } from "/run/media/selcuk/Linux/repo/Anka_Anvil/Rev1/node/node_modules/xterm/lib/xterm.js"; // import { Terminal } from "xterm";
const terminal = document.getElementById("terminal"); const terminal = document.getElementById("terminal");
console.log("hi"); console.log("hi");
const term = Terminal({ cols: 120, rows: 40 }); // const term = Terminal({ cols: 120, rows: 40 });
// const term = new Terminal(); // const term = new Terminal();
// term.open(terminalDiv); // term.open(terminalDiv);
// term.write("first succesfull hello world"); // term.write("first succesfull hello world");

Loading…
Cancel
Save