aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index b40d9b1..5b9d2f5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,14 +1,12 @@
-mod rope;
-mod term;
-
-use rope::Rope;
+use edit::rope::Rope;
+use edit::term;
+use edit::term::Key;
+use edit::term::Reader;
use std::error::Error;
use std::ffi::{OsStr, OsString};
use std::fs::File;
use std::io::{stderr, stdout, Write};
use std::path::{Path, PathBuf};
-use term::Key;
-use term::Reader;
fn open(file: &Path) -> Result<Rope, std::io::Error> {
let mut f = File::open(file)?;