rl.getPrompt()


  • 返回:<string> 当前提示字符串

    ¥Returns: <string> the current prompt string

rl.getPrompt() 方法返回 rl.prompt() 使用的当前提示。

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