~delthas/senpai#158: 
clicking on links dont work

I just wanted to say that when i want to click on a link on senpai, the link becomes underlined but when i click on it, the underline is removed and nothing happens, i tried left clicking as well. Also, my web browser is properly configured and my terminal outside of senpai properly opens links in my browser.

Status
RESOLVED CLOSED
Submitter
pixrobot
Assigned to
No-one
Submitted
9 months ago
Updated
6 months ago
Labels
No labels applied.

~delthas 7 months ago

Did you try using Left Control + Left Mouse Button?

pixrobot 7 months ago · edit

With that key combo it works. But it would be nice not to have to do that key combination.

On 5/31/24 14:03, ~delthas wrote:

Did you try using Left Control + Left Mouse Button?

~tokyovigilante 7 months ago

Would be great if the (newish) standard for hyperlink escape codes could be supported - https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

Links in senpai don't work in alacritty which does support hyperlink autodetection otherwise.

Thanks!

~delthas 7 months ago

Hi ~tokyovigilante, we do use this hyperlink escape code. Are links not working in alacritty at all? If not that's a bug.

~tokyovigilante 7 months ago

Unfortunately no, and they do work outside senpai in usual terminal context.

My relevant alacritty snippet -

[[hints.enabled]]
command = "xdg-open"
hyperlinks = true
post_processing = true
persist = false
mouse.enabled = true
binding = { key = "U", mods = "Control|Shift" }
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"

~tokyovigilante 6 months ago

Sorry I've just realised I need to hold shift to enable this (and text selection with the mouse) when a terminal application is capturing mouse events. Apologies for the noise!

~delthas REPORTED CLOSED 6 months ago

Register here or Log in to comment, or comment via email.