tty: don't echo tab

This commit is contained in:
Matheus
2024-05-07 21:21:31 -03:00
parent e87dd1a1de
commit 91be53dec8
+1 -1
View File
@@ -25,7 +25,7 @@ void tty_process(tty_t *tty, char c) {
char echoc = (tty->termios.c_lflag & ECHO) ? c : '\0';
// echo control characters
if ((tty->termios.c_lflag & ECHOCTL) && c < 32 && c != '\n' && c != '\r' && c != '\b') {
if ((tty->termios.c_lflag & ECHOCTL) && c < 32 && c != '\n' && c != '\r' && c != '\b' && c != '\t') {
char tmp[2] = {'^', c + 0x40};
tty->writetodevice(tty->deviceinternal, tmp, 2);
}