diff --git a/sys/system.js b/sys/system.js index 8370012..a8852f9 100644 --- a/sys/system.js +++ b/sys/system.js @@ -23,6 +23,8 @@ async function readLine(on_key=(key, ctrl, alt, shift, content, pos) => [content while (true) { let event = await pollStdinEvent() + console.log(event) + if (event.type == "key") { if (event.key == "Backspace") { if (content.length >= 1) {