rl.getPrompt() 方法返回 rl.prompt() 当前使用的提示符。
rl.getPrompt()
rl.prompt()
【The rl.getPrompt() method returns the current prompt used by rl.prompt().】