MgetPrompt
Bun

method

readline.Interface.getPrompt

getPrompt(): string;

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

@returns

the current prompt string