aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-16 03:29:22 +0000
committerBlaž Hrastnik2020-10-16 03:30:46 +0000
commit49cc6c19244462b80beeac96be0ea0cc5bc1febc (patch)
treef3a6b3dffef73fd239468ceae473ec90f3d84260 /helix-term/src/main.rs
parent267602328c0c164136244517bbf7176f4c729c67 (diff)
Refactor Editor into Application and Editor/Workspace.
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 f5af9175..e14a328f 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -1,8 +1,8 @@
#![allow(unused)]
-mod editor;
+mod application;
-use editor::Editor;
+use application::Application;
use clap::{App, Arg};
use std::path::PathBuf;
@@ -27,7 +27,7 @@ fn main() -> Result<(), Error> {
}
smol::block_on(EX.run(async {
- editor::Editor::new(args).unwrap().run().await;
+ Application::new(args).unwrap().run().await;
}));
Ok(())