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

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

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

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()
}