Terminal exit goes back

This commit is contained in:
2022-10-29 22:19:57 +02:00
parent e97c00ed89
commit 2a03646196
2 changed files with 5 additions and 6 deletions

View File

@ -225,12 +225,9 @@ const exitCmd: Command = {
window.opener = null;
window.open("", "_self");
window.close();
window.history.back();
}
return [
"If you can read this, closing the window did not work.",
"This is most likely because of a restriction in JavaScript.",
"#{Read more here|https://developer.mozilla.org/en-US/docs/Web/API/Window/close}."
];
return [];
}
};