mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-25 02:52: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) {
|
while (true) {
|
||||||
let event = await pollStdinEvent()
|
let event = await pollStdinEvent()
|
||||||
|
|
||||||
|
console.log(event)
|
||||||
|
|
||||||
if (event.type == "key") {
|
if (event.type == "key") {
|
||||||
if (event.key == "Escape") {
|
if (event.key == "Escape") {
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user