Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Interface.prototype.setPrompt
Re-export
import { Interface } from "https://deno.land/std@0.160.0/node/readline.ts";

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

Parameters

prompt: string