mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Fix printing of escape codes
This commit is contained in:
parent
d547477c5a
commit
038d1d5a53
@ -124,6 +124,9 @@ impl Screen for TextScreen {
|
||||
let _ = self.write(b"\x08", true);
|
||||
}
|
||||
},
|
||||
b'\x1B' => {
|
||||
let _ = self.write(b"^[", true);
|
||||
},
|
||||
b'\n' | b'\r' => {
|
||||
self.cooked.push_back(b);
|
||||
while let Some(c) = self.cooked.pop_front() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user