summaryrefslogtreecommitdiffstats
path: root/src/bin/client/macros.rs
blob: cda73e35d5fb506928f6658e44ac141e65d1e752 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
macro_rules! println {
    () => {
        print!("\r\n")
    };
    ($($arg:tt)*) => {
        print!("\r{}\n", format_args!($($arg)*))
    };
}

macro_rules! printsame {
    () => {
        print!("\r")
    };
    ($($arg:tt)*) => {
        print!("\r{}", format_args!($($arg)*))
    };
}