From 91be53dec8e8628ebe8c9832d9ca41602c462f2c Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 7 May 2024 21:21:31 -0300 Subject: [PATCH] tty: don't echo tab --- kernel-src/io/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-src/io/tty.c b/kernel-src/io/tty.c index 8c66c36c..3753f2e2 100644 --- a/kernel-src/io/tty.c +++ b/kernel-src/io/tty.c @@ -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); }