This commit is contained in:
josc146
2023-08-24 22:48:54 +08:00
parent a057bb6c5b
commit 02d5d641d1
4 changed files with 6 additions and 4 deletions

View File

@@ -219,7 +219,7 @@ const Terminal: FC = observer(() => {
WslStart().then(() => {
addWslMessage('WSL> ' + input);
setInput('');
WslCommand(input).catch(showError);
WslCommand(input).then(WindowShow).catch(showError);
}).catch(showError);
}
};