system event log

This commit is contained in:
MeexReay 2025-03-19 02:16:28 +03:00
parent b0f9d89436
commit 2ac47b73b8

View File

@ -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) {