| title | Link |
|---|
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.
- Mouse click activates the link.
Enter/Spaceactivates the link when focused.
- Default alignment:
HorizontalAlignment = Align.Start,VerticalAlignment = Align.Start
LinkStyle controls colors/underline for normal/hover/focused states.
Note
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.
