How can I simulate a keypress in a terminal application for testing purposes (node.js)?

后端 未结 0 808
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 19:30

I am writing a terminal application, and I have this code to enable keypress events (imports the readline library):


//child-process.js

const readline = requ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题