On Enter in Console
The full implementation
export function setConsoleEvent(handler: (cmd: string) => void) {rl.on("line", (cmd: string) => { handler(cmd); });} Copy
export function setConsoleEvent(handler: (cmd: string) => void) {rl.on("line", (cmd: string) => { handler(cmd); });}
On Enter in Console
The full implementation