aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-20 07:08:20 +0100
committerAkshay <[email protected]>2020-07-20 07:08:20 +0100
commit5dd90a7808c2a1ed8f7ba901765d2e42858b2192 (patch)
tree9148204681c6e66e59418b579a1849ce094834d8 /src/main.rs
parenta110cc018cd40488871bae025d11ef4ae59e9e60 (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 d96119e..fb16aaa 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
@@ -50,7 +50,7 @@ fn main() {
50 ), 50 ),
51 } 51 }
52 } else { 52 } else {
53 let mut s = termion().unwrap(); 53 let mut s = crossterm().unwrap();
54 let app = App::load_state(); 54 let app = App::load_state();
55 let layout = NamedView::new( 55 let layout = NamedView::new(
56 "Frame", 56 "Frame",