From 0fde52e3f974f187632b0799b2d0074e292a7e2f Mon Sep 17 00:00:00 2001
From: Ticki <Ticki@users.noreply.github.com>
Date: Mon, 7 Mar 2016 22:22:25 +0100
Subject: [PATCH] Fixes for Redox

---
 src/raw.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/raw.rs b/src/raw.rs
index 9fa3e9c2..448d1613 100644
--- a/src/raw.rs
+++ b/src/raw.rs
@@ -84,6 +84,8 @@ impl<W: Write> IntoRawMode for W {
     }
     #[cfg(target_os = "redox")]
     fn into_raw_mode(self) -> Result<TerminalRestorer<W>, TerminalError> {
+        use TermControl;
+
         if let Err(_) = self.csi("r") {
             Err(TerminalError::StdoutError)
         } else {
-- 
GitLab