From b22999f1e7b39c1341caf797a98facb9010f89cf Mon Sep 17 00:00:00 2001 From: trimental Date: Mon, 1 Oct 2018 05:54:08 +0800 Subject: Drop terminal lock before rendering The terminal lock is now dropped before rendering by storing all grid cells before clearing the screen. This frees the terminal to do other things since the lock is now free, which lead to a performance benefit with high throughput applications. --- src/term/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/term/mod.rs') diff --git a/src/term/mod.rs b/src/term/mod.rs index 9be8b96b..495a7567 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -372,6 +372,7 @@ impl<'a> RenderableCellsIter<'a> { } } +#[derive(Debug)] pub struct RenderableCell { /// A _Display_ line (not necessarily an _Active_ line) pub line: Line, -- cgit