From fd783ee59ee18365e78ba50334b10d0a244d99fa Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 13 Apr 2022 09:47:17 -0400 Subject: [PATCH] fix: add 1 space at the end of right prompt to fix character cut off --- readline/prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readline/prompt.go b/readline/prompt.go index 64124cc..699abec 100644 --- a/readline/prompt.go +++ b/readline/prompt.go @@ -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() }