Loading static/js/jslinux.api.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ async function pressEnter() { * * @param {boolean} waitForPrompt If true, wait until a prompt is shown, if false, exit immediately */ export async function abort(waitForPrompt) { export async function abort(waitForPrompt = false) { const textarea = document.querySelector(".term_textarea") textarea.dispatchEvent(new KeyboardEvent("keydown", { keyCode: 67, Loading Loading
static/js/jslinux.api.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ async function pressEnter() { * * @param {boolean} waitForPrompt If true, wait until a prompt is shown, if false, exit immediately */ export async function abort(waitForPrompt) { export async function abort(waitForPrompt = false) { const textarea = document.querySelector(".term_textarea") textarea.dispatchEvent(new KeyboardEvent("keydown", { keyCode: 67, Loading