diff options
author | trimental <timmins.s.lucas@gmail.com> | 2018-10-01 05:54:08 +0800 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-09-30 21:54:08 +0000 |
commit | b22999f1e7b39c1341caf797a98facb9010f89cf (patch) | |
tree | 4f97b33870c7058988c4edcdaf188f407053549b /src/term/mod.rs | |
parent | f785f88a58daa3919255a268fa1da62aa07f13a7 (diff) | |
download | alacritty-b22999f1e7b39c1341caf797a98facb9010f89cf.tar.gz alacritty-b22999f1e7b39c1341caf797a98facb9010f89cf.zip |
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.
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |