Go to Latest
method Interface.prototype.setPrompt
import { Interface } from "https://dotland.deno.dev/std@0.177.0/node/readline.ts";

The rl.setPrompt() method sets the prompt that will be written to outputwhenever rl.prompt() is called.

Parameters

prompt: string