fix: add 1 space at the end of right prompt to fix character cut off

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

View File

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