anes

Macro esc

Source
macro_rules! esc {
    ($($arg:expr),*) => { ... };
}
Expand description

Creates an escape sequence.

This macro prepends provided sequence with the ESC (\x1B) character.

ยงExamples

use anes::esc;

assert_eq!(esc!("7"), "\x1B7");