fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.47k stars 305 forks source link

Add customizable foreground color to CMatrix #652

Closed 0xNiffin closed 3 months ago

0xNiffin commented 4 months ago

Just wanted to be able to change the color on the CMatrix characters :)

0xNiffin commented 4 months ago

Sorry it's my first time dealing with something in Zig haha

I've made a commit with the new changes, for some weird reason it's not letting me change the var fg: u16 = @intCast(termbox.TB_GREEN); as it is not present the code.

Could you please elaborate on how I could add that variable as a field? I've looked at the documentation but left confused.

Thanks in advance! Cheers

0xNiffin commented 3 months ago

Hello again @AnErrupTion !

Did the changes you requested, I've also noticed that the capital B (res/config.ini) is actually present in the main branch of ly.

Cheers

AnErrupTion commented 3 months ago

I've also noticed that the capital B (res/config.ini) is actually present in the main branch of ly.

Yup, I simply didn't notice that when merging the PR that had these changes. Other than that, the changes look good, thanks!