Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't this like any other hyperlink?

    <a href="http://evil.com">https://good.com</a>
 help



In a terminal I'd intuitively expect displayed text to not lie, especially if clicking it has consequences.

The use-cases provided seem to all just be more or less "it's convenient and looks good", which is the last thing I care about in a situation like that.


That's probably not a good intuition to have for a display rendered from ANSI escape sequences. Maybe not even from text rendered from unicode.

Though a good terminal should let you control whether you want to render the anchor text, show you the underlying link when you focus/hover/click it, etc.


ok fair point

with the web browser you see a preview of the link ! not with most terminal i have tested

Just noting that Ghostty shows a preview in the bottom corners just like a browser.

Alacritty shows a preview at the bottom by default (sounds similar to ghostty). Looked to me like WezTerm doesn't though.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: