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:
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…
x
Reference in New Issue
Block a user