mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 10:32:59 +03:00
log console evnt
This commit is contained in:
parent
d16544286e
commit
945f945438
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user