You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// watch for the triple slash on linux/macos for an absolute pathAnsiConsole.MarkupLine("[link=file:///home/username/file.txt]Foo[/]");AnsiConsole.MarkupLine("[link]/home/username/file.txt[/]");
In my linux system (gnome terminal) those sort of links, when clicked, open the corresponding file in the default associated app. I'm sure it's similar on mac, I'm unsure about windows.
It's rendered like this, but ideally the file:// should not be shown:
file:///home/username/file.txt
It would be a nice addition. Thanks for considering it!
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered:
@lonix1, if you want to give it a go on a PR I'd be happy to review it. I'm pretty sure Windows Terminal didn't support them when we added links but with microsoft/terminal#7526 that isn't the case any more.
In #75 support was added for clickable hyperlinks:
It would be nice to also have
file://
links:In my linux system (gnome terminal) those sort of links, when clicked, open the corresponding file in the default associated app. I'm sure it's similar on mac, I'm unsure about windows.
It's rendered like this, but ideally the
file://
should not be shown:file:///home/username/file.txt
It would be a nice addition. Thanks for considering it!
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: