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
Describe the bug
Structure of file links are not supported in Windows Terminal causing it to show an error.
To Reproduce
Write an exception to the console with AnsiConsole.WriteException using the format ExceptionFormats.ShowLinks.
Ctrl+Click on a file link in Windows Terminal.
Expected behavior
Windows Terminal opens the file that the link points to.
Screenshots
The error in question:
Additional context
When copying the file link, replacing the hostname with either localhost or an empty string (keeping the triple slashes!!), and echo-ing the update link, it works as expected.
Information
Describe the bug
Structure of file links are not supported in Windows Terminal causing it to show an error.
To Reproduce
AnsiConsole.WriteException
using the formatExceptionFormats.ShowLinks
.Expected behavior
Windows Terminal opens the file that the link points to.
Screenshots
The error in question:
Additional context
When copying the file link, replacing the hostname with either
localhost
or an empty string (keeping the triple slashes!!), andecho
-ing the update link, it works as expected.The issue is caused by this piece of code
spectre.console/src/Spectre.Console/Widgets/Exceptions/StringUriExtensions.cs
Line 22 in d79e6ad
Related issues/PRs: microsoft/terminal#7699, microsoft/terminal#7526
The text was updated successfully, but these errors were encountered: