Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function clearLine
import { clearLine } from "https://deno.land/std@0.157.0/node/internal/readline/callbacks.mjs";

clears the current line the cursor is on: -1 for left of the cursor +1 for right of the cursor 0 for the entire line

Parameters

stream
dir
callback