Weather symbol cleanup (#2502)

* WIP - compiling but not working

* semi-working

* making progress

* working except for table lines

* fmt + clippy

* cleaned up some comments

* working line colors

* fmt, clippy, updated sample config.toml

* merges

* clean up some comments
This commit is contained in:
Darren Schroeder 2020-09-05 14:52:49 -05:00 committed by GitHub
parent b5a27f0ccb
commit e2cbc4e853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,16 +109,6 @@ fn str_to_character(s: &str) -> Option<String> {
}
}
// sun=$(get_config "sun" || echo "\033[33;1m\xe2\x98\x80")
// moon=$(get_config "moon" || echo "\033[36m\xe2\x98\xbd")
// clouds=$(get_config "clouds" || echo "\033[37;1m\xe2\x98\x81")
// rain=$(get_config "rain" || echo "\033[37;1m\xe2\x98\x94")
// fog=$(get_config "fog" || echo "\033[37;1m\xe2\x96\x92")
// mist=$(get_config "mist" || echo "\033[34m\xe2\x96\x91")
// haze=$(get_config "haze" || echo "\033[33m\xe2\x96\x91")
// snow=$(get_config "snow" || echo "\033[37;1m\xe2\x9d\x84")
// thunderstorm=$(get_config "thunderstorm" || echo "\033[33;1m\xe2\x9a\xa1")
#[cfg(test)]
mod tests {
use super::Char;