diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 3efecd6..dc6081d 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -12,7 +12,7 @@ use crate::command::{open_command_window, Command}; | |||
12 | use crate::utils::{load_configuration_file, AppConfig}; | 12 | use crate::utils::{load_configuration_file, AppConfig}; |
13 | 13 | ||
14 | use clap::{App as ClapApp, Arg}; | 14 | use clap::{App as ClapApp, Arg}; |
15 | use cursive::ncurses; | 15 | use cursive::termion; |
16 | use cursive::views::NamedView; | 16 | use cursive::views::NamedView; |
17 | use lazy_static::lazy_static; | 17 | use lazy_static::lazy_static; |
18 | 18 | ||
@@ -44,7 +44,7 @@ fn main() { | |||
44 | eprintln!("Invalid or unsupported command!"); | 44 | eprintln!("Invalid or unsupported command!"); |
45 | } | 45 | } |
46 | } else { | 46 | } else { |
47 | let mut s = ncurses().unwrap(); | 47 | let mut s = termion().unwrap(); |
48 | let app = App::load_state(); | 48 | let app = App::load_state(); |
49 | s.add_layer(NamedView::new("Main", app)); | 49 | s.add_layer(NamedView::new("Main", app)); |
50 | s.add_global_callback(':', |s| open_command_window(s)); | 50 | s.add_global_callback(':', |s| open_command_window(s)); |