aboutsummaryrefslogtreecommitdiffstats
path: root/src/blocking/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/blocking/input.rs')
-rw-r--r--src/blocking/input.rs3
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();