Skip to content
Snippets Groups Projects

CI

Merged Stephen D requested to merge ci into master
Files
4
+ 1
4
@@ -11,6 +11,7 @@ fn rainbow(freq: f64, i: f64) -> (u8, u8, u8) {
(red as u8, green as u8, blue as u8)
}
// Returns the new seed (modified every time a newline is detected)
pub fn print_rainbow(line: &str, freq: f64, seed: f64, spread: f64, invert: bool) {
lazy_static! {
static ref ANSI_ESCAPE: Regex =
@@ -40,8 +41,4 @@ pub fn print_rainbow(line: &str, freq: f64, seed: f64, spread: f64, invert: bool
exit(0);
}
}
if stdout().write_all(&[b'\n']).is_err() {
exit(0);
}
}
Loading