Scale chart to terminal size

This commit is contained in:
Joscha 2023-01-23 13:11:51 +01:00
parent 9818353349
commit d1b33758ce
3 changed files with 23 additions and 12 deletions

11
Cargo.lock generated
View file

@ -653,6 +653,7 @@ dependencies = [
"anyhow",
"clap 4.1.1",
"git-repository",
"terminal_size",
"textplots",
]
@ -1565,6 +1566,16 @@ dependencies = [
"winapi-util",
]
[[package]]
name = "terminal_size"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb20089a8ba2b69debd491f8d2d023761cbf196e999218c591fa1e7e15a21907"
dependencies = [
"rustix",
"windows-sys",
]
[[package]]
name = "textplots"
version = "0.8.0"