{ } qjs-modules

readline

Source: lib/readline.js (pure JS)

Cursor-movement helpers in the style of Node's readline module.

Exports

ExportArgsKindDescription
cursorTo(stream, column, row)3functionMoves the cursor to an absolute (column, row) on stream.
clearLine(stream, dir)2functionClears the current line in direction dir (-1 left, 1 right, 0 whole line).