summary refs log tree commit diff
path: root/mscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mscan.c')
-rw-r--r--mscan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mscan.c b/mscan.c
index 992148d..f03d73c 100644
--- a/mscan.c
+++ b/mscan.c
@@ -45,6 +45,10 @@ u8putstr(FILE *out, char *s, ssize_t l, int pad)
 			putc(*s, out);
 			s++;
 			l--;
+		} else if ((unsigned)*s < 32 || *s == 127) {  // C0
+			fprintf(out, "%lc", *s == 127 ? 0x2421 : 0x2400+*s);
+			s++;
+			l--;
 		} else {
 			wchar_t wc;
 			int r = mbtowc(&wc, s, 4);