Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERDERP1 authored Dec 14, 2024
1 parent fcb7116 commit e82591d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ document.getElementById("inputForm").addEventListener("submit", (event) => {
// Invalid command for the current directory
console.error("Unknown command:", input);
return false;
inputField.value = "";
}

// Update the cmd history
Expand Down Expand Up @@ -96,7 +97,7 @@ function processCommand(command) {
updateSemicolonsDisplay();

}

document.getElementById("text").addEventListener('paste',e=>e.preventDefault)
// Function to update semicolon display dynamically
function updateSemicolonsDisplay() {
const display = document.getElementById("semicolonsDisplay");
Expand Down

0 comments on commit e82591d

Please sign in to comment.