Here's a naive attempt at writing a Node REPL which shows the output of each command on the same line every time:
const repl = require('repl')
require('draftlog').into(console)
const update = console.draft('Starting REPL...')
repl.start({prompt:update})
Here's a naive attempt at writing a Node REPL which shows the output of each command on the same line every time:
And the output looks like this: https://asciinema.org/a/U0y4BMlqxMlhQLE2QE1szHiFi