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