diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-02-24 02:42:25 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-02-24 02:50:33 -0500 |
commit | 246ae0894d4074c38ea2d2eb520e386b0d36d82d (patch) | |
tree | d2e681e4df655a63519193d0b797b09d0afdd4cc /src/blocking | |
parent | cd617e021bed862ac3794cc71123959c8d7d7dd1 (diff) | |
download | textmode-246ae0894d4074c38ea2d2eb520e386b0d36d82d.tar.gz textmode-246ae0894d4074c38ea2d2eb520e386b0d36d82d.zip |
move to tokio
Diffstat (limited to 'src/blocking')
-rw-r--r-- | src/blocking/input.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |