Commit aa5f12c3 authored by Jeremy Soller's avatar Jeremy Soller

Fix printing of escape codes

parent ccaf9636
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment