+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ package helpers
3
3
import (
4
4
goContext "context"
5
5
"fmt"
6
+
"strings"
6
7
7
8
"github.com/jesseduffield/lazygit/pkg/gui/style"
8
9
"github.com/jesseduffield/lazygit/pkg/gui/types"
@@ -168,7 +169,7 @@ func (self *ConfirmationHelper) CreatePopupPanel(ctx goContext.Context, opts typ
168
169
confirmationView.RenderTextArea()
169
170
} else {
170
171
self.c.ResetViewOrigin(confirmationView)
171
-
self.c.SetViewContent(confirmationView, style.AttrBold.Sprint(opts.Prompt))
172
+
self.c.SetViewContent(confirmationView, style.AttrBold.Sprint(strings.TrimSpace(opts.Prompt)))
172
173
}
173
174
174
175
self.setKeyBindings(cancel, opts)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4