kernel: fix swapped LCUC conversion in tty
This commit is contained in:
parent
ed05f07868
commit
cb3432ebcf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user