chore: add comment for set right prompt function

right-prompt
TorchedSammy 2022-04-13 09:19:44 -04:00
parent a2a2d5e5e7
commit 706d02a146
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func (rl *Instance) SetPrompt(s string) {
rl.computePrompt() rl.computePrompt()
} }
// SetRightPrompt sets the right prompt.
func (rl *Instance) SetRightPrompt(s string) { func (rl *Instance) SetRightPrompt(s string) {
rl.rightPrompt = s rl.rightPrompt = s
rl.computePrompt() rl.computePrompt()