diff --git a/pease-portfolio/src/components/telnet.js b/pease-portfolio/src/components/telnet.js index 3b19245..2f77811 100644 --- a/pease-portfolio/src/components/telnet.js +++ b/pease-portfolio/src/components/telnet.js @@ -6,8 +6,6 @@ export function TelnetDisplay() { var film = film1.split('\n'); var LINES_PER_FRAME = 14; var DELAY_NORMAL = 67; - var DELAY_FAST = 17; - var DELAY_VERYFAST = 1; var g_currentFrame = 0; var g_updateDelay = DELAY_NORMAL; diff --git a/pease-portfolio/src/components/terminal.js b/pease-portfolio/src/components/terminal.js index bb3d93c..220f916 100644 --- a/pease-portfolio/src/components/terminal.js +++ b/pease-portfolio/src/components/terminal.js @@ -4,7 +4,6 @@ import { TelnetDisplay } from "./telnet"; const commands = { "uname -a": "Hello! My name is Nicholas Pease and I am currently a junior at the University of Maine pursuing a bachelors degree in Computer Science with a minor in Military Science. This website is a collection of both project / homework completed as required by my studies and as a showcase of some of the personal projects I have worked on. I will work to keep this up to date to the best of my ability. ", - "timedatectl": `This website was last updated on ${moment().format("dddd, MMMM Do YYYY")}.`, "poweroff": "Nice try...", "shutdown": "Nice try...", "sudo poweroff": "Nice try...", @@ -52,6 +51,8 @@ export function Terminal() { else if (event.code == "Enter") { if (text == "clear") { setHistory([]) + } else if (text == "timedatectl") { + setHistory([...history, ]) } else if (commands[text] != undefined) { setHistory([...history, ]) } else {