Skip to main content
Go to Latest
function clearLine
import { clearLine } from "https://deno.land/std@0.114.0/node/internal/readline/callbacks.js";

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