forked from gdamore/tcell
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hyperlinks: add support for optional id parameter
OSC8 escape sequences allow for marking up hyperlinks in the terminal. An optional `id` parameter is defined to allow applications to signal to the terminal that (potentially) broken character sequences belong to the same URL and should be treated as if they were connected. Add support for optional id parameters, set by the application. Update test case for ti.EnterUrl. Fixes: gdamore#568 Reference: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#hover-underlining-and-the-id-parameter
- Loading branch information
1 parent
96bb70f
commit 5129c3e
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters