terminal-link

Create clickable links inside terminals

1 unstable release

0.1.0 Mar 12, 2021

#434 in Command-line interface

Download history 3249/week @ 2024-06-17 4413/week @ 2024-06-24 2377/week @ 2024-07-01 1198/week @ 2024-07-08 1727/week @ 2024-07-15 2729/week @ 2024-07-22 2941/week @ 2024-07-29 2485/week @ 2024-08-05 1571/week @ 2024-08-12 1694/week @ 2024-08-19 1569/week @ 2024-08-26 2150/week @ 2024-09-02 1831/week @ 2024-09-09 1702/week @ 2024-09-16 1818/week @ 2024-09-23 1829/week @ 2024-09-30

7,241 downloads per month
Used in 7 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