From 246ae0894d4074c38ea2d2eb520e386b0d36d82d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 24 Feb 2022 02:42:25 -0500 Subject: move to tokio --- src/blocking/input.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/blocking') diff --git a/src/blocking/input.rs b/src/blocking/input.rs index 48d9ee8..63c9ac5 100644 --- a/src/blocking/input.rs +++ b/src/blocking/input.rs @@ -36,7 +36,8 @@ impl RawGuard { /// Switch back from raw mode early. /// /// # Errors - /// * `Error::SetTerminalMode`: failed to return the terminal from raw mode + /// * `Error::SetTerminalMode`: failed to return the terminal from raw + /// mode pub fn cleanup(&mut self) -> crate::error::Result<()> { self.termios.take().map_or(Ok(()), |termios| { let stdin = std::io::stdin().as_raw_fd(); -- cgit v1.2.3-54-g00ecf