Debian Codegraph @

debian/missing-sources/anes/examples/string.rs

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