jesseduffield / jesseduffield/lazygit
Mouse hover follows delta Hyperlinks
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
I'm seeing some unintended behavior with regards to hyperlinks in delta. They work as expected on first click, but after that it appears to follow every link by simply hovering over the hyperlink.
**To Reproduce**
1. I click a hyperlink in a diff, which opens the file in the editor
2. close the file
3. Now simply hovering over a link in the diff opens the file again
4. This behavior appears to resolve itself after the terminal window loses focus
**Expected behavior**
Hyperlinks should only be followed on an actual mouse click.
**Version info:**
`commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)`
`git version 2.39.5 (Apple Git-154)`
**Additional context**
I'm using the suggested config
```
git:
paging:
colorArg: always
pager: delta --dark --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}"
```
**Screen Recording of the issue**

Contributor guide
Assessment
This issue has not been assessed yet.