method Readline.prototype.moveCursor
Usage
import { Readline } from "node:readline/promises";
The rl.moveCursor() method adds to the internal list of pending action an
action that moves the cursor relative to its current position in the
associated stream.
Call rl.commit() to see the effect of this method, unless autoCommit: truewas passed to the constructor.