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;
|
border: none;
|
||||||
resize: none;
|
resize: none;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
width: 55%;
|
width: 53%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.projects {
|
.projects {
|
||||||
|
|
|
@ -41,7 +41,7 @@ const newLine = async (e) => {
|
||||||
const promptsClone = prompts.cloneNode(true);
|
const promptsClone = prompts.cloneNode(true);
|
||||||
terminal.append(promptsClone);
|
terminal.append(promptsClone);
|
||||||
prompt.disabled = true;
|
prompt.disabled = true;
|
||||||
const newPromptInput = promptsClone.childNodes[5];
|
const newPromptInput = promptsClone.childNodes[3];
|
||||||
newPromptInput.value = "";
|
newPromptInput.value = "";
|
||||||
newPromptInput.disabled = false;
|
newPromptInput.disabled = false;
|
||||||
newPromptInput.focus();
|
newPromptInput.focus();
|
||||||
|
|
Loading…
Reference in a new issue