1
0
Fork 0
mirror of https://github.com/vbatts/bvi.git synced 2024-12-22 14:46:37 +00:00
bvi/tmp

16 lines
309 B
Text
Raw Normal View History

if ((ch > 31) && (ch < 127)) {
PRINTF("%c", ch);
} else {
if (r_flag) {
if ((ch & 128) && ((ch > 159) && (ch < 255))) {
if (!no_tty) highlight();
PRINTF("%c", ch & 127);
if (!no_tty) normal();
} else {
PRINTF(".");
}
} else {
PRINTF(".");
}
}