Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a new type `HyperlinkSpec` and two new default methods to the `WriteColor` trait: `set_hyperlink` and `supports_hyperlinks`. The former is the analog to `set_color`, but for hyperlinks. The latter is the analog to `supports_color`. By default, the former is a no-op and the latter always returns `false`. But all ANSI-supported impls of `WriteColor` in this trait now support it in accordance with OSC8[1]. Closes #65 [1]: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
- Loading branch information