aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
commitbde4dacc791501440515c1a51ad2fcb0256cf04c (patch)
tree66bd6762c4ae11705d1a82ed72112a408e5ec2d5 /src/display.rs
parent781572096ea67516a98872b1b3c5b1ffaea9bae0 (diff)
downloadalacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.tar.gz
alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.zip
Misc formatting fixes
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.