log console evnt

This commit is contained in:
MeexReay 2025-03-21 18:00:18 +03:00
parent d16544286e
commit 945f945438

View File

@ -14,6 +14,8 @@ async function main(args) {
while (true) {
let event = await pollStdinEvent()
console.log(event)
if (event.type == "key") {
if (event.key == "Escape") {
break