Bumped up the version number
parent
c2466abf83
commit
92935c7d44
|
@ -426,7 +426,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "git-heatmap"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
|
@ -2,7 +2,7 @@ cargo-features = ["codegen-backend"]
|
|||
|
||||
[package]
|
||||
name = "git-heatmap"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
authors = ["Wynd <wyndftw@proton.me>"]
|
||||
description = "A simple and customizable heatmap for git repos"
|
||||
|
|
|
@ -63,12 +63,8 @@ struct Author {
|
|||
}
|
||||
|
||||
fn main() -> Result<()> {
|
||||
// clear_screen();
|
||||
|
||||
let args = CliArgs::parse();
|
||||
|
||||
// dbg!(&args);
|
||||
|
||||
CHAR.set(args.char).unwrap();
|
||||
COLOR_LOGIC.set(args.counting.clone()).unwrap();
|
||||
let color_map = match args.color_scheme {
|
||||
|
@ -135,10 +131,6 @@ fn get_color(val: i32, high: i32) -> usize {
|
|||
}
|
||||
}
|
||||
|
||||
fn clear_screen() {
|
||||
print!("\x1b[2J\x1b[1;1H");
|
||||
}
|
||||
|
||||
fn get_char() -> char {
|
||||
*CHAR.get_or_init(|| '▩')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue