chore: Refactor terminal component and select form layout

This commit is contained in:
Andras Bacsai
2024-09-16 11:25:20 +02:00
parent f124a1e60d
commit e1a6c3e776
6 changed files with 20 additions and 13 deletions

View File

@@ -117,8 +117,8 @@
if (data === '\x04' || (data === '\r' && stripAnsiCommands(commandBuffer).trim() === 'exit')) {
checkIfProcessIsRunningAndKillIt();
setTimeout(() => {
term.reset();
$data.terminalActive = false;
term.reset();
}, 500);
commandBuffer = '';
} else if (data === '\r') {