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

How about implementing [hyperlink support](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) #132

Open
hoclun-rigsep opened this issue Feb 22, 2024 · 3 comments

Comments

@hoclun-rigsep
Copy link

          How about implementing [hyperlink support](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda), like how coreutils ls does? That way it would be possible to use the already existing grid functionality, and each file would be clickeable. The only requirement would be to use a terminal that supports hyperlinks

Originally posted by @Sonico98 in #29 (comment)

I am sure a lot of us use timg with kitty. Support for making the image or the title a hyperlink would be a real force multiplier for me and I imagine others!

@hoclun-rigsep hoclun-rigsep changed the title How about implementing [hyperlink support](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda), like how coreutils ls does? That way it would be possible to use the already existing grid functionality, and each file would be clickeable. The only requirement would be to use a terminal that supports hyperlinks How about implementing [hyperlink support](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) Feb 22, 2024
@hzeller
Copy link
Owner

hzeller commented Apr 23, 2024

where would the link go ? Or would you like to be able to use c-escape codes in --title ?

@hoclun-rigsep
Copy link
Author

Or would you like to be able to use c-escape codes in --title ?

That would work for me; I could hack a function or alias to make the title a hyperlink to the image. The comment I quoted upthread envisionsed making the image itself a hyperlink but of course you'd know better than I what would go into doing that.

@hoclun-rigsep
Copy link
Author

I am not much of a C hacker but if one were to point me to the place in the code where this could be managed I might be able to take a crack at it.

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