clear command not found bugfix

This commit is contained in:
Baipyrus 2023-01-16 11:03:24 +01:00
parent 750f2a8f96
commit c2cf9906a3

View File

@ -191,7 +191,7 @@ function runCommand(input) {
} }
// Standard output: // Standard output:
if (output === "") if (output === "" && !lowerIn.startsWith("clear"))
output = `${input.split(" ")[0]}: command not found`; output = `${input.split(" ")[0]}: command not found`;
// Return command output // Return command output