kernel: fix swapped LCUC conversion in tty

This commit is contained in:
K. Lange 2022-12-07 13:40:55 +09:00
parent ed05f07868
commit cb3432ebcf

View File

@ -77,7 +77,7 @@ void tty_output_process_slave(pty_t * pty, uint8_t c) {
}
if (c >= 'a' && c <= 'z' && (pty->tios.c_oflag & OLCUC)) {
c = c + 'a' - 'A';
c = c + 'A' - 'a';
OUT(c);
return;
}