added some commands
:)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<div class="terminalLine activeLine">
|
||||
<h4 class="pathText"></h4>
|
||||
<h4 class="pathColon">:</h4>
|
||||
<h4 class="pathPath">~/projects</h4>
|
||||
<h4 class="pathPath">~/</h4>
|
||||
<h4 class="pathDollar">$</h4>
|
||||
<input class="terminalInput" type="text" id="terminalInput" value="">
|
||||
<div class="pathBlinky"></div>
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user