2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 13:03:22 +00:00

chore: add comment for set right prompt function

This commit is contained in:
TorchedSammy 2022-04-13 09:19:44 -04:00
parent a2a2d5e5e7
commit 706d02a146
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

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