Raxol.Terminal.Hyperlink.Manager (Raxol v0.5.0)
View SourceManages terminal hyperlinks and their states.
Summary
Functions
Clears the hyperlink state.
Creates a new hyperlink with the given parameters.
Gets the hyperlink ID.
Gets the hyperlink parameters.
Gets the current hyperlink state.
Gets the current hyperlink URL.
Checks if a hyperlink exists.
Checks if a hyperlink is active.
Checks if a hyperlink is being hovered.
Creates a new hyperlink manager instance.
Updates the hyperlink parameters.
Updates the hyperlink state.
Updates the hyperlink URL.
Types
@type hyperlink_state() :: :inactive | :active | :hover
@type t() :: %Raxol.Terminal.Hyperlink.Manager{ hyperlink_id: String.t() | nil, hyperlink_params: hyperlink_params(), hyperlink_state: hyperlink_state(), hyperlink_url: String.t() | nil }
Functions
Clears the hyperlink state.
Creates a new hyperlink with the given parameters.
Gets the hyperlink ID.
Gets the hyperlink parameters.
Gets the current hyperlink state.
Gets the current hyperlink URL.
Checks if a hyperlink exists.
Checks if a hyperlink is active.
Checks if a hyperlink is being hovered.
Creates a new hyperlink manager instance.
Updates the hyperlink parameters.
Updates the hyperlink state.
Updates the hyperlink URL.