Compare commits

..

2 commits

Author SHA1 Message Date
0670e3796c version bump 2024-10-30 21:38:00 -04:00
0236f702b4 changed small scaling to be 5:3 with rounding 2024-10-30 21:37:38 -04:00
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "pride"
version = "0.4.1"
version = "0.4.2"
edition = "2021"
authors = [ "Valerie Wolfe <sleeplessval@gmail.com>" ]
description = "Pride flags in the terminal."

View file

@ -118,7 +118,7 @@ impl Flag {
Flag::Stripes(colors)
=> {
let count = colors.len() as u16;
let (width, height) = state.size.get(count * 3, count);
let (width, height) = state.size.get((count * 20 + 3) / 6, count);
if height < count { error::too_small(width, height); }
fg_stripes(colors, width, height)
},