[go: up one dir, main page]

termion 4.0.6

A bindless library for manipulating terminals.
Documentation
1
2
3
4
5
6
7
8
9
10
11
extern crate termion;

use termion::{color, style};

fn main() {
    println!("{}Gray background", color::Bg(color::LightBlack));
    println!("{}Red", color::Fg(color::Red));
    println!("{}Blue", color::Fg(color::Blue));
    println!("{}Blue'n'Bold{}", style::Bold, style::Reset);
    println!("{}Just plain italic{}", style::Italic, style::Reset);
}