diff options
author | Akshay <[email protected]> | 2020-07-20 07:08:20 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-07-20 07:08:20 +0100 |
commit | 5dd90a7808c2a1ed8f7ba901765d2e42858b2192 (patch) | |
tree | 9148204681c6e66e59418b579a1849ce094834d8 /src | |
parent | a110cc018cd40488871bae025d11ef4ae59e9e60 (diff) |
switch to crossterm backend
Diffstat (limited to 'src')
-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 d96119e..fb16aaa 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 | ||
@@ -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", |