#links #terminal #clickable

terminal-link

Create clickable links inside terminals

1 unstable release

0.1.0 Mar 12, 2021

#413 in Command-line interface

Download history 2728/week @ 2024-07-20 2884/week @ 2024-07-27 2652/week @ 2024-08-03 1552/week @ 2024-08-10 1656/week @ 2024-08-17 1559/week @ 2024-08-24 2148/week @ 2024-08-31 1874/week @ 2024-09-07 1675/week @ 2024-09-14 1828/week @ 2024-09-21 1816/week @ 2024-09-28 2374/week @ 2024-10-05 2258/week @ 2024-10-12 2209/week @ 2024-10-19 3074/week @ 2024-10-26 3147/week @ 2024-11-02

11,127 downloads per month
Used in 9 crates

Apache-2.0 OR MIT

7KB

terminal-link

Create clickable links inside your terminal.

Usage

use terminal_link::Link;

fn main() {
    let link = Link::new("DuckDuckGo", "https://duckduckgo.com");
    println!("{}", link);
}

Supported terminals

As of now, the terminals listed in this Gist have support for clickable links.

Shortcomings

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.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps