mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 12:31:45 +08:00
Fix display of quoted (contro) characters w/o breaking 8-bit display
This commit is contained in:
parent
bde0c0c9d6
commit
f617f84293
@ -158,14 +158,10 @@ static void tty_show(char c)
|
|||||||
tty_put('M');
|
tty_put('M');
|
||||||
tty_put('-');
|
tty_put('-');
|
||||||
tty_put(UNMETA(c));
|
tty_put(UNMETA(c));
|
||||||
}
|
} else if (ISCTL(c) && !ISMETA(c)) {
|
||||||
#if 0
|
|
||||||
else if (ISCTL(c)) {
|
|
||||||
tty_put('^');
|
tty_put('^');
|
||||||
tty_put(UNCTL(c));
|
tty_put(UNCTL(c));
|
||||||
}
|
} else {
|
||||||
#endif
|
|
||||||
else {
|
|
||||||
tty_put(c);
|
tty_put(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user