blob: bd81c368eecba8074642a155b533862f0cc42437 [file] [log] [blame]
//! 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");
}