added some commands

:)
This commit is contained in:
valentijn
2024-01-18 14:41:17 +01:00
parent 9c0e165b33
commit e4be64245b
4 changed files with 37 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
const terminalContainer = document.getElementById("terminal");
const hostname = `192.168.${Math.floor(Math.random() * 100)}.${Math.floor(Math.random() * 255)}`;
let currentFolder = "~/";
let currentFolder = "/";
@@ -108,7 +108,7 @@ function createNewTerminalLine(){
let pathPath = document.createElement("h4");
pathPath.innerHTML = currentFolder;
pathPath.innerHTML = "~"+currentFolder;
pathPath.classList.add("pathPath");