Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master from dev #20

Merged
merged 11 commits into from
Apr 7, 2021
Prev Previous commit
Fixing Windows build warnings
  • Loading branch information
marcospb19 committed Apr 7, 2021
commit 3ac28b8d5c2a2b71bc833990cddaf2250a2218f6
3 changes: 2 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub struct Bytes {
}

/// Module with a list of bright colors.
#[allow(dead_code, non_upper_case_globals)]
#[allow(dead_code)]
#[cfg(target_family = "unix")]
pub mod colors {
use termion::color::*;
Expand Down Expand Up @@ -161,6 +161,7 @@ pub mod colors {
}
}
// Termion does not support Windows
#[allow(dead_code, non_upper_case_globals)]
#[cfg(not(target_family = "unix"))]
pub mod colors {
pub fn empty() -> &'static str {
Expand Down