mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-19 15:56:24 -05:00
Show xA0 (nbsp) as a non-printable character
I want to see the difference between space and nbsp, and I consider nbsp to be a control character, so show it as such. Even if it is technically "printable". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
823786d263
commit
c718cb2a4a
@ -194,7 +194,7 @@ static void vtputc(unsigned char c)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c >= 0x80 && c < 0xA0) {
|
if (c >= 0x80 && c <= 0xA0) {
|
||||||
static const char hex[] = "0123456789abcdef";
|
static const char hex[] = "0123456789abcdef";
|
||||||
vtputc('\\');
|
vtputc('\\');
|
||||||
vtputc(hex[c >> 4]);
|
vtputc(hex[c >> 4]);
|
||||||
|
Loading…
Reference in New Issue
Block a user