aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index a516ea4..63ae538 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,8 @@ use std::ffi::{OsStr, OsString};
use std::path::Path;
fn edit(file: &OsStr) -> Result<(), String> {
+ let _raw_handle = term::raw();
+
let r = match Rope::open(Path::new(file)) {
Ok(r) => r,
Err(err) => {