aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-23 12:33:55 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-23 12:33:55 -0500
commitcd617e021bed862ac3794cc71123959c8d7d7dd1 (patch)
treeeb5b601ecc9bd1c6df250a3f257404fb685658df
parent9c866b92bdf589980bb16e2ad77100f9e4c65768 (diff)
downloadtextmode-cd617e021bed862ac3794cc71123959c8d7d7dd1.tar.gz
textmode-cd617e021bed862ac3794cc71123959c8d7d7dd1.zip
this shouldn't have been async
-rw-r--r--src/blocking/output.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blocking/output.rs b/src/blocking/output.rs
index 74c0590..8d21c41 100644
--- a/src/blocking/output.rs
+++ b/src/blocking/output.rs
@@ -136,7 +136,7 @@ impl Output {
///
/// # Errors
/// * `Error::WriteStdout`: failed to write screen state to stdout
- pub async fn hard_refresh(&mut self) -> crate::error::Result<()> {
+ pub fn hard_refresh(&mut self) -> crate::error::Result<()> {
let contents = self.next().screen().state_formatted();
write_stdout(&contents)?;
self.cur_mut().process(&contents);