function console_out(msg) {
  readline.clearLine(process.stdout, 0);
  readline.cursorTo(process.stdout, 0, null);
  console.log(msg);
  rl.prompt(true);
}
// replaces last line (which is the input line) with `msg`
replaces last line (which is the input line) with `msg`
replaces last line ( which is the input line ) with ` msg `
function console_out(msg) {
  readline.clearLine(process.stdout, 0);
  readline.cursorTo(process.stdout, 0, null);
  console.log(msg);
  rl.prompt(true);
}
function console_out ( msg ) { readline . clearLine ( process . stdout , 0 ) ; readline . cursorTo ( process . stdout , 0 , null ) ; console . log ( msg ) ; rl . prompt ( true ) ; }
replaces last line (which is the input line) with `msg`
replaces last line ( which is the input line ) with ` msg `