pl011: fix incorrect byte written in write()

This commit is contained in:
2026-05-28 14:37:25 +03:00
parent 677ec96c08
commit 505a57abda
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ impl TerminalOutput for Pl011Inner {
if byte == b'\n' && options.contains(TerminalOutputOptions::NL_TO_CRNL) {
lock.send(b'\r');
}
lock.send(b'\n');
lock.send(byte);
Ok(())
}