aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-23 18:36:22 +0100
committerAkshay <[email protected]>2020-07-23 18:36:22 +0100
commitd7c303dda4750a432478c94b3ed41bca1352d839 (patch)
treedccaba932e18a1414d91a67246fba3e0890d27f0 /src
parent2f47f50b0382491099391185c6a2702b1370b206 (diff)
enable feature based compilation to support windowsv0.2.2-alpha
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
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
14use clap::{App as ClapApp, Arg}; 14use clap::{App as ClapApp, Arg};
15 15
16#[cfg(target_os = "linux")] 16#[cfg(any(target_os = "linux", target_os = "macos"))]
17use cursive::termion; 17use 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();