added printing

master
bernadette 2 months ago
parent 3e5e9e7964
commit 10ce403696

@ -71,7 +71,7 @@ var responses = {
},
"uname": {
screen: "Definition:Displays the operating system name ('you name') as well as the system node name, operating system release, operating system version, hardware name, and processor type.",
info_layer: "Ask someone to describe themselves in a few words.",
paper: "Ask someone to describe themselves in a few words.",
},
"which": {
screen: "Definition: Find the location of executables (tasks performed following encoded instructions). This could be useful while trying to look at the path a certain executable has taken to standard output.",
@ -102,6 +102,7 @@ function handleInput() {
var userInput = document.getElementById("user_input").value.trim();
var response = getResponse(userInput);
document.getElementById("output").innerText = response.screen;
printing(response.paper);
console.log("Paper: " + userInput);

Loading…
Cancel
Save