From ff0433b0081784e8e1367e8e4b930e57c29fa37f Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sun, 19 May 2024 15:55:50 +0100 Subject: [PATCH] hexdump uses . not ? as a placeholder --- samples/hexdump/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/hexdump/src/main.rs b/samples/hexdump/src/main.rs index 2e985e7..bdcc44e 100644 --- a/samples/hexdump/src/main.rs +++ b/samples/hexdump/src/main.rs @@ -50,7 +50,7 @@ fn real_main() -> Result<(), neotron_sdk::Error> { // print ascii (with padding) for b in valid { let ch = *b as char; - let _ = write!(stdout, "{}", if !ch.is_control() { ch } else { '?' }); + let _ = write!(stdout, "{}", if !ch.is_control() { ch } else { '.' }); } for _padding in 0..(buffer.len() - valid.len()) { let _ = write!(stdout, ".");