lusingander / iterm2img

Rust library for iTerm2 Inline Images Protocol

Home Page:https://crates.io/crates/iterm2img

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iterm2img

Crate Status docs.rs

Rust library for iTerm2 Inline Images Protocol

Usage

let encoded = iterm2img::from_bytes(bytes)
    .width(5)
    .inline(true)
    .build();

println("{}", encoded);

See examples/main.rs for full code.

Running this on iTerm2 gives the following:

License

MIT

About

Rust library for iTerm2 Inline Images Protocol

https://crates.io/crates/iterm2img

License:MIT License


Languages

Language:Rust 100.0%