diff options
| author | salmonik <raisersoft@proton.me> | 2026-03-11 21:04:08 +0100 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-03-11 21:04:08 +0100 |
| commit | ef570e6ba8c3d6f5e90a07a26ef7385b0278198a (patch) | |
| tree | cfc6b835d0b05ccbcd8fa06b28072bd2315d2af3 /src/bin/client/macros.rs | |
| parent | only use raw mode (diff) | |
| download | zagan-bet-ef570e6ba8c3d6f5e90a07a26ef7385b0278198a.tar.gz zagan-bet-ef570e6ba8c3d6f5e90a07a26ef7385b0278198a.zip | |
stable and working, both platforms
Diffstat (limited to '')
| -rw-r--r-- | src/bin/client/macros.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/client/macros.rs b/src/bin/client/macros.rs index f97a4ff..e45f2b3 100644 --- a/src/bin/client/macros.rs +++ b/src/bin/client/macros.rs | |||
| @@ -6,3 +6,12 @@ macro_rules! println { | |||
| 6 | print!("\r{}\n", format_args!($($arg)*)) | 6 | print!("\r{}\n", format_args!($($arg)*)) |
| 7 | }; | 7 | }; |
| 8 | } | 8 | } |
| 9 | |||
| 10 | macro_rules! printsame { | ||
| 11 | () => { | ||
| 12 | print!("\r") | ||
| 13 | }; | ||
| 14 | ($($arg:tt)*) => { | ||
| 15 | print!("\r{}", format_args!($($arg)*)) | ||
| 16 | }; | ||
| 17 | } \ No newline at end of file | ||
