From 945f94543837bdcd705a6a85420e903aff5392f3 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Fri, 21 Mar 2025 18:00:18 +0300 Subject: [PATCH] log console evnt --- app/kfc/kfc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/kfc/kfc.js b/app/kfc/kfc.js index 3aef136..a541bee 100644 --- a/app/kfc/kfc.js +++ b/app/kfc/kfc.js @@ -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