The rl.getPrompt() method returns the current prompt used by rl.prompt().
method
readline.promises.Interface.getPrompt
@returns
the current prompt string
method
The rl.getPrompt() method returns the current prompt used by rl.prompt().
the current prompt string