This commit is contained in:
David Kay 2026-04-19 15:25:30 -05:00 committed by GitHub
commit 2d487b523f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -423,7 +423,10 @@ func (gui *Gui) handleDonate(g *gocui.Gui, v *gocui.View) error {
if cx > len(gui.Tr.Donate) {
return nil
}
return gui.OSCommand.OpenLink("https://github.com/sponsors/jesseduffield")
if err := gui.OSCommand.OpenLink("https://github.com/sponsors/jesseduffield"); err != nil {
return gui.createErrorPanel(err.Error())
}
return nil
}
func (gui *Gui) editFile(filename string) error {