macro_rules! pos {
($x: expr, $y: expr) => { ... };
}
Expand description
Create a new, immutable position (column, line);
ยงExamples
use tty_interface::{Position, pos};
let position = pos!(1, 2);
assert_eq!(1, position.x());
assert_eq!(2, position.y());