Skip to content

Commit 90c11d3

Browse files
author
andy.koppe
committed
Use VT100 "medium shade" character rather than the replacement character
0xFFFD for errors again, so as to distinguish them from holes in the font.
1 parent bd33102 commit 90c11d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

termout.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ write_char(wchar c, int width)
374374
static void
375375
write_error(void)
376376
{
377-
// Write the Unicode "replacement character", which usually shows as an
378-
// empty box or some sort of question mark.
379-
write_char(0xFFFD, 1);
377+
// Write 'Medium Shade' character from vt100 linedraw set,
378+
// which looks appropriately erroneous.
379+
write_char(0x2592, 1);
380380
}
381381

382382
static void

0 commit comments

Comments
 (0)