summaryrefslogtreecommitdiffstats
path: root/src/bin/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/main.rs')
-rw-r--r--src/bin/main.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs
index a5218efe..4d588a94 100644
--- a/src/bin/main.rs
+++ b/src/bin/main.rs
@@ -15,15 +15,12 @@ use std::{
use anyhow::{Context, Result};
use bottom::{
args,
- canvas::{
- styling::CanvasStyling,
- {self},
- },
+ canvas::{self, styling::CanvasStyling},
check_if_terminal, cleanup_terminal, create_collection_thread, create_input_thread,
create_or_get_config,
data_conversion::*,
handle_key_event_or_break, handle_mouse_event,
- options::*,
+ options::config::{get_color_scheme, get_widget_layout, init_app},
panic_hook, read_config, try_drawing, update_data, BottomEvent,
};
use crossterm::{
@@ -73,7 +70,7 @@ fn main() -> Result<()> {
};
// Create an "app" struct, which will control most of the program and store settings/state
- let mut app = build_app(
+ let mut app = init_app(
matches,
config,
&widget_layout,