import { default } from "https://deno.land/std@0.164.0/node/internal/readline/promises.mjs";
Methods
clearLine(dir)
Clears the current line the cursor is on.
Clears the screen from the current position of the cursor down.
commit()
Sends all the pending actions to the associated stream
and clears the
internal list of pending actions.
cursorTo(x, y?)
Moves the cursor to the x and y coordinate on the given stream.
moveCursor(dx, dy)
Moves the cursor relative to its current location.
rollback()
Clears the internal list of pending actions without sending it to the
associated stream
.