mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +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"
|
||||
*/
|
||||
|
||||
if err := gui.renderString(g, "help", content); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprint(helpView, content)
|
||||
|
||||
g.Update(func(g *gocui.Gui) error {
|
||||
_, err := g.SetViewOnTop("help")
|
||||
|
Loading…
Reference in New Issue
Block a user