mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-02 09:21:40 +02:00
use Fprint instead of renderString
renderString is wrapping content because of that lines are being select wrong
This commit is contained in:
parent
314c8c279a
commit
5177e458ef
@ -84,9 +84,7 @@ func (gui *Gui) handleHelp(g *gocui.Gui, v *gocui.View) error {
|
|||||||
content += "third\n"
|
content += "third\n"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if err := gui.renderString(g, "help", content); err != nil {
|
fmt.Fprint(helpView, content)
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
g.Update(func(g *gocui.Gui) error {
|
g.Update(func(g *gocui.Gui) error {
|
||||||
_, err := g.SetViewOnTop("help")
|
_, err := g.SetViewOnTop("help")
|
||||||
|
Loading…
Reference in New Issue
Block a user