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