Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Hyperlinks not rendered correctly #362

Closed
paulirish opened this issue Oct 22, 2020 · 2 comments
Closed

🐛 Hyperlinks not rendered correctly #362

paulirish opened this issue Oct 22, 2020 · 2 comments

Comments

@paulirish
Copy link

paulirish commented Oct 22, 2020

Great project! Love it.

So.. the hyperlink test file (mentioned in the gist) works correctly:

curl -L  https://git.gnome.org/browse/vte/plain/perf/hyperlink-demo.txt

image

However with hyperlinks = true in my config.. The rendering of hyperlinks seems bugged.

image

any ideas?

i'm in Iterm2 Build 3.4.0beta11

@dandavison
Copy link
Owner

Hi @paulirish, thanks! And thanks for diff-so-fancy, which I was a user of for many years up until I started this project.

Does this do it? Pass the -r flag to less (as opposed to -R), e.g. via

export DELTA_PAGER='less -rX'

(if you're on an older version of delta than the current 0.4.4 you can use the BAT_PAGER env var)

I'll add this to the README (ref #332).

@dandavison
Copy link
Owner

As mentioned above, I think that this will be solved by passing -r (as opposed to -R) to less. I believe that the next version of less will support hyperlinks with the -R flag. I'll close this for now but do let me know if it's not working with -r.

ohbarye added a commit to ohbarye/dotfiles that referenced this issue May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants