mirror of https://github.com/Hilbis/Hilbish
fix: add 1 space at the end of right prompt to fix character cut off
parent
706d02a146
commit
fd783ee59e
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue