pl011: fix incorrect byte written in write()
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user