/terminal-link-rs

A Rust library for creating clickable links inside of terminals

Primary LanguageRustApache License 2.0Apache-2.0

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.