Skip to main content
Go to Latest
method Interface.prototype.getPrompt
Re-export
import { Interface } from "https://deno.land/std@0.158.0/node/readline.ts";

The rl.getPrompt() method returns the current prompt used by rl.prompt().

Returns

string

the current prompt string