Represents a hyperlink specified via OSC 6.
More...
#include <ttx/terminal/hyperlink.h>
|
di::String | uri |
| URI for the hyperlink.
|
|
di::String | id |
| ID of hyperlink, for linking cells together.
|
|
Represents a hyperlink specified via OSC 6.
Specification.
◆ DefaultOps
◆ clone()
auto ttx::terminal::Hyperlink::clone |
( |
| ) |
const -> Hyperlink |
|
inline |
◆ operator<=>()
auto ttx::terminal::Hyperlink::operator<=> |
( |
Hyperlink const & | | ) |
const |
|
default |
◆ operator==()
auto ttx::terminal::Hyperlink::operator== |
( |
Hyperlink const & | | ) |
const -> bool=default |
|
default |
◆ tag_invoke
friend auto tag_invoke |
( |
di::Tag< di::reflect > | , |
|
|
di::InPlaceType< Hyperlink > | ) |
|
friend |
◆ id
di::String ttx::terminal::Hyperlink::id |
ID of hyperlink, for linking cells together.
◆ max_id_length
auto ttx::terminal::Hyperlink::max_id_length = 230u |
|
staticconstexpr |
The max ID length is chosen so that so that ttx can insert a prefix to the id without overflowing the limit of 250 in VTE.
◆ max_uri_length
auto ttx::terminal::Hyperlink::max_uri_length = 2083zu |
|
staticconstexpr |
The max URI for a hyperlink should be 2083 per the spec:
◆ uri
di::String ttx::terminal::Hyperlink::uri |
The documentation for this struct was generated from the following file: