aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-20 07:08:20 +0100
committerOleksii Filonenko <[email protected]>2020-07-23 09:50:07 +0100
commit7322949561fdbdc36a811b1368222fb5a2bf050a (patch)
tree08d55686bcd7acece482cf0eb31028e122d53413 /src/main.rs
parentb763206c9fc24f54af4bfebe80d2a7b7579557d5 (diff)
switch to crossterm backend
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 5523073..3e35ebc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -12,7 +12,7 @@ use crate::command::{open_command_window, Command};
12use crate::utils::{load_configuration_file, AppConfig}; 12use crate::utils::{load_configuration_file, AppConfig};
13 13
14use clap::{App as ClapApp, Arg}; 14use clap::{App as ClapApp, Arg};
15use cursive::termion; 15use cursive::crossterm;
16use cursive::views::{LinearLayout, NamedView}; 16use cursive::views::{LinearLayout, NamedView};
17use lazy_static::lazy_static; 17use lazy_static::lazy_static;
18 18
@@ -62,7 +62,7 @@ fn main() {
62 println!("{}", h); 62 println!("{}", h);
63 } 63 }
64 } else { 64 } else {
65 let mut s = termion().unwrap(); 65 let mut s = crossterm().unwrap();
66 let app = App::load_state(); 66 let app = App::load_state();
67 let layout = NamedView::new( 67 let layout = NamedView::new(
68 "Frame", 68 "Frame",