Skip to main content
Module

std/node/_readline.mjs>clearLine

Deno standard library
Go to Latest
function clearLine
Re-export
import { clearLine } from "https://deno.land/std@0.139.0/node/_readline.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