osc8 0.1.0

parse or generate terminal hyperlinks
Documentation
1
2
3
4
5
6
7
8
9
10
use osc8::Hyperlink;

fn main() {
	let link = Hyperlink::new("https://example.com/");
	println!("{link}Hello, World!{link:#}");
	println!("this is not a hyperlink");
	let link2 = Hyperlink::new("https://example.org/").with_id("example-link2");
	println!("one {link2}hyperlink{link2:#} split into two {link2}parts{link2:#}");
}