| 1 | # terminal-link |
| 2 | |
| 3 | > Create clickable links inside your terminal. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ```rust |
| 8 | use terminal_link::Link; |
| 9 | |
| 10 | fn main() { |
| 11 | let link = Link::new("DuckDuckGo", "https://duckduckgo.com"); |
| 12 | println!("{}", link); |
| 13 | } |
| 14 | ``` |
| 15 | |
| 16 | ## Supported terminals |
| 17 | |
| 18 | As of now, the terminals listed in [this Gist](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) have support for clickable links. |
| 19 | |
| 20 | ## Shortcomings |
| 21 | |
| 22 | The library does not do any runtime-checks to determine if a terminal actually supports clickable links. This will be implemented in a later release. |
| 23 | |
| 24 | #### License |
| 25 | |
| 26 | <sup> |
| 27 | Licensed under either of <a href="license-apache">Apache License, Version |
| 28 | 2.0</a> or <a href="license-mit">MIT license</a> at your option. |
| 29 | </sup> |
| 30 | |
| 31 | <br> |
| 32 | |
| 33 | <sub> |
| 34 | Unless you explicitly state otherwise, any contribution intentionally submitted |
| 35 | for inclusion in the work by you, as defined in the Apache-2.0 license, shall be |
| 36 | dual licensed as above, without any additional terms or conditions. |
| 37 | </sub> |