summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-01 12:55:50 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-01 12:58:36 -0400
commit6b013bb91969d7e269aa5a08da729a8370a31900 (patch)
tree3a1173b052e5abb7826509c380668d3e2e9c4be5 /src/main.rs
parentef98d3d408f9a741433523ccf557b26aa7380dbc (diff)
add ConfigStructure trait
- make JoshutoKeymap just an alias for HashMap<i32, CommandKeybind> - change keymap.toml to use ascii values rather than strings that needs reparsing
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 31f9679..6afe6b3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,7 +17,7 @@ use lazy_static::lazy_static;
use std::path::PathBuf;
use structopt::StructOpt;
-use config::{JoshutoConfig, JoshutoKeymap, JoshutoMimetype, JoshutoPreview, JoshutoTheme};
+use config::{ConfigStructure, JoshutoConfig, JoshutoKeymap, JoshutoMimetype, JoshutoPreview, JoshutoTheme};
use run::run;
const PROGRAM_NAME: &str = "joshuto";