summaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs
index b6c5f401..a6b6528d 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -176,7 +176,11 @@ impl Display {
}
/// Process pending resize events
- pub fn handle_resize(&mut self, terminal: &mut MutexGuard<Term>, items: &mut [&mut OnResize]) {
+ pub fn handle_resize(
+ &mut self,
+ terminal: &mut MutexGuard<Term>,
+ items: &mut [&mut OnResize]
+ ) {
// Resize events new_size and are handled outside the poll_events
// iterator. This has the effect of coalescing multiple resize
// events into one.