diff options
author | Akshay <[email protected]> | 2020-07-20 07:08:20 +0100 |
---|---|---|
committer | Oleksii Filonenko <[email protected]> | 2020-07-23 09:50:07 +0100 |
commit | 7322949561fdbdc36a811b1368222fb5a2bf050a (patch) | |
tree | 08d55686bcd7acece482cf0eb31028e122d53413 /src/main.rs | |
parent | b763206c9fc24f54af4bfebe80d2a7b7579557d5 (diff) |
switch to crossterm backend
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 5523073..3e35ebc 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::termion; | 15 | use cursive::crossterm; |
16 | use cursive::views::{LinearLayout, NamedView}; | 16 | use cursive::views::{LinearLayout, NamedView}; |
17 | use lazy_static::lazy_static; | 17 | use 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", |