[go: up one dir, main page]

anes 0.1.6

ANSI Escape Sequences provider & parser
Documentation
1
2
3
4
5
6
7
//! An example how to retrieve the ANSI escape sequence as a `String`.
use anes::SaveCursorPosition;

fn main() {
    let string = format!("{}", SaveCursorPosition);
    assert_eq!(&string, "\x1B7");
}