Add customizable foreground color to CMatrix (#652)

* Final fixes, adding fg_ini as field

* Capital B changed to lowercase
This commit is contained in:
0xNiffin
2024-07-22 15:44:49 +01:00
committed by GitHub
parent 3dc1482603
commit 1d7a001a0b
4 changed files with 11 additions and 4 deletions

View File

@@ -230,7 +230,7 @@ pub fn main() !void {
switch (config.animation) {
.none => {},
.doom => doom = try Doom.init(allocator, &buffer),
.matrix => matrix = try Matrix.init(allocator, &buffer),
.matrix => matrix = try Matrix.init(allocator, &buffer, config.cmatrix_fg),
}
defer {
switch (config.animation) {