diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-16 15:45:05 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-16 15:50:25 -0500 |
commit | 98d0ce7e70f9febf804cda7473f5e9f7f180fe91 (patch) | |
tree | c8c8dd60d9e6502202b910e64f79cd75b933d05d /src/main.rs | |
parent | d788f8d740be85bb014ddfa005156723f0a31e99 (diff) |
remove ncurses dependency
- clean up code
- update theme config
- fix localstate tracking file selection not selecting proper files
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index ed60083..d50927e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,6 @@ mod error; mod fs; mod history; mod io; -mod preview; mod run; mod sort; mod tab; @@ -19,8 +18,8 @@ use std::path::PathBuf; use structopt::StructOpt; use config::{ - ConfigStructure, JoshutoCommandMapping, JoshutoConfig, JoshutoKeyMapping, JoshutoMimetype, - JoshutoPreview, JoshutoTheme, + ConfigStructure, JoshutoCommandMapping, JoshutoConfig, JoshutoMimetype, JoshutoPreview, + JoshutoTheme, }; use run::run; @@ -48,7 +47,6 @@ lazy_static! { static ref THEME_T: JoshutoTheme = JoshutoTheme::get_config(); static ref MIMETYPE_T: JoshutoMimetype = JoshutoMimetype::get_config(); static ref PREVIEW_T: JoshutoPreview = JoshutoPreview::get_config(); - static ref KEYMAP_T: JoshutoKeyMapping = JoshutoKeyMapping::get_config(); static ref HOME_DIR: Option<PathBuf> = dirs::home_dir(); static ref USERNAME: String = whoami::username(); |