Bump gocui

This commit is contained in:
Stefan Haller 2025-01-07 17:38:46 +01:00
parent 80c212faba
commit 49ca7f6a84
5 changed files with 8 additions and 8 deletions

View file

@ -358,7 +358,7 @@ func (gui *Gui) onNewRepo(startArgs appTypes.StartArgs, contextKey types.Context
return nil
})
gui.g.SetOpenHyperlinkFunc(func(url string) error {
gui.g.SetOpenHyperlinkFunc(func(url string, viewname string) error {
if strings.HasPrefix(url, "lazygit-edit:") {
re := regexp.MustCompile(`^lazygit-edit://(.+?)(?::(\d+))?$`)
matches := re.FindStringSubmatch(url)