1//! An example how to retrieve the ANSI escape sequence as a `String`.
2use anes::SaveCursorPosition;
3
4fn main() {
5 let string = format!("{}", SaveCursorPosition);
6 assert_eq!(&string, "\x1B7");
7}
8