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 dec3156..609738e 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -13,7 +13,7 @@ use crate::utils::{load_configuration_file, AppConfig}; | |||
13 | 13 | ||
14 | use clap::{App as ClapApp, Arg}; | 14 | use clap::{App as ClapApp, Arg}; |
15 | 15 | ||
16 | #[cfg(target_os = "linux")] | 16 | #[cfg(any(target_os = "linux", target_os = "macos"))] |
17 | use cursive::termion; | 17 | use cursive::termion; |
18 | 18 | ||
19 | #[cfg(target_os = "windows")] | 19 | #[cfg(target_os = "windows")] |
@@ -71,7 +71,7 @@ fn main() { | |||
71 | #[cfg(target_os = "windows")] | 71 | #[cfg(target_os = "windows")] |
72 | let mut s = crossterm().unwrap(); | 72 | let mut s = crossterm().unwrap(); |
73 | 73 | ||
74 | #[cfg(target_os = "linux")] | 74 | #[cfg(any(target_os = "linux", target_os = "macos"))] |
75 | let mut s = termion().unwrap(); | 75 | let mut s = termion().unwrap(); |
76 | 76 | ||
77 | let app = App::load_state(); | 77 | let app = App::load_state(); |