Fixes for Redox
This commit is contained in:
parent
fd2d74d41a
commit
0fde52e3f9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue