Skip to content
Snippets Groups Projects
Commit f2bfb0fa authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Limit redraws to when a flush occurs

parent 9ff20a1d
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,7 @@ fn handle(console: &mut Console, master_fd: RawFd, process: &mut Child) {
} else {
console.write(&packet[1..count], true).expect("terminal: failed to write to console");
//if packet[0] & 1 == 1
{
if packet[0] & 1 == 1 {
console.redraw();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment