Use "alternate screen" for Pride month animation

This removes the need to clear screen at each frame, which fixes the
screen flickering.
This commit is contained in:
Teoh Han Hui 2024-07-30 21:23:40 +08:00
parent 00369355e6
commit 13e29325b9
No known key found for this signature in database
GPG key ID: D43E2BABAF97DCAE
4 changed files with 121 additions and 34 deletions

View file

@ -15,6 +15,7 @@ ansi_colours = { workspace = true, features = [] }
anstream = { workspace = true, features = [], optional = true }
anyhow = { workspace = true, features = ["std"] }
bpaf = { workspace = true, features = [] }
crossterm = { workspace = true, features = [] }
deranged = { workspace = true, features = ["serde", "std"] }
directories = { workspace = true, features = [] }
enterpolation = { workspace = true, features = ["bspline", "std"] }