Fix terminal
This commit is contained in:
parent
4e53e10365
commit
046124bb1a
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ a:visited, a:link {
|
|||
border: none;
|
||||
resize: none;
|
||||
font-family: monospace;
|
||||
width: 55%;
|
||||
width: 53%;
|
||||
}
|
||||
|
||||
.projects {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue