summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-03-17 01:50:38 +0100
committerrabite <rabite@posteo.de>2019-03-17 01:50:38 +0100
commit7011023babde960b8ce7a4fbbdddaab696c44649 (patch)
treecf6ca645b201eb319d10a99731bfe57cc2733e21 /src/widget.rs
parent8b1c4db9cfa2ea0bf02e9e96c29b2510bbc391af (diff)
shorten home path for display
Diffstat (limited to 'src/widget.rs')
-rw-r--r--src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 8c9942b..09a5d0a 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -257,7 +257,6 @@ pub trait Widget {
self.refresh().log();
self.draw().log();
self.after_draw().log();
- self.get_core_mut()?.screen.flush().ok();
}
Ok(())
}
@@ -299,6 +298,7 @@ pub trait Widget {
&self.get_header_drawlist().unwrap_or("".to_string()) +
&self.get_footer_drawlist().unwrap_or("".to_string());
self.write_to_screen(&output).log();
+ self.screen()?.flush().ok();
Ok(())
}