Link renders a hyperlink-like visual and can be activated by keyboard/mouse.
new Link("https://github.com/XenoAtom/XenoAtom.Terminal.UI", "Open project")
.Opened(e => Terminal.WriteLine($"Opening {e.Uri}"));
If you don’t provide Text, the URI is used as the display text.
Enter / Space activates the link when focused.HorizontalAlignment = Align.Start, VerticalAlignment = Align.StartLinkStyle controls colors/underline for normal/hover/focused states.
Link rendering uses terminal hyperlinks when supported (OSC 8). Terminals that don’t support hyperlinks will still render the link text, but activation is up to your handler.