This commit is contained in:
selcuk committed 2022-06-28 19:20:28 +03:00
1 parent e42849dc1b
commit 9039fc3415
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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...");
}); });
+2 -2
View File
@@ -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");