Fix terminal

This commit is contained in:
Night Kaly 2024-11-14 09:27:18 +00:00
parent 4e53e10365
commit 046124bb1a
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ a:visited, a:link {
border: none;
resize: none;
font-family: monospace;
width: 55%;
width: 53%;
}
.projects {

View file

@ -41,7 +41,7 @@ const newLine = async (e) => {
const promptsClone = prompts.cloneNode(true);
terminal.append(promptsClone);
prompt.disabled = true;
const newPromptInput = promptsClone.childNodes[5];
const newPromptInput = promptsClone.childNodes[3];
newPromptInput.value = "";
newPromptInput.disabled = false;
newPromptInput.focus();