Skip to main content
Module

std/node/_readline.js>clearLine

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