aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-06-03 23:05:01 +0000
committerBlaž Hrastnik2020-06-16 08:42:32 +0000
commit19643446cd2d5911b56af6f52f0f40da39a14109 (patch)
treed06e1d6bbc6bb91996c182b5caa92d448268e540 /helix-term/src/main.rs
parent073fe61264d5154eb0bd37be575ccc91e17b74d7 (diff)
editor.rs now uses crossterm
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r--helix-term/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index 6a04bdb7..11c700e7 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -1,9 +1,10 @@
#![allow(unused)]
// mod editor;
// mod component;
+mod editor;
mod keymap;
-// use editor::Editor;
+use editor::Editor;
use argh::FromArgs;
use std::path::PathBuf;
@@ -19,9 +20,8 @@ pub struct Args {
fn main() -> Result<(), Error> {
let args: Args = argh::from_env();
- // let mut editor = Editor::new(args)?;
- // editor.run()?;
+ editor::Editor::run()?;
Ok(())
}