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

Render hyperlinks (OSC 8) in embedded terminal #28789

Open
bluss opened this issue May 16, 2024 · 0 comments
Open

Render hyperlinks (OSC 8) in embedded terminal #28789

bluss opened this issue May 16, 2024 · 0 comments
Labels
enhancement feature request terminal built-in :terminal or :shell
Milestone

Comments

@bluss
Copy link

bluss commented May 16, 2024

Problem

Make hyperlinks in command outputs clickable in the embedded terminal (:term) in neovim if the hosting terminal or UI supports it.

Commands such as ls --hyperlink=always (GNU coreutils) and ripgrep are examples of utils that can output hyperlink escapes.

Expected behavior

ls -l --hyperlink=always should produce clickable links when used inside neovim's embedded terminal (:term). Compare with how this works in standalone terminals (such as gnome-terminal, kitty, or others, also in tmux) which make these links clickable. Use the existing neovim 0.10 support for OSC 8 (in extmarks in that case) to accomplish this.

Discussion

Briefly discussed here #28620 (reply in thread) where @gpanders shared a thought

@bluss bluss added the enhancement feature request label May 16, 2024
@zeertzjq zeertzjq added the terminal built-in :terminal or :shell label May 16, 2024
@justinmk justinmk added this to the backlog milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request terminal built-in :terminal or :shell
Projects
None yet
Development

No branches or pull requests

3 participants