cmatrix icon indicating copy to clipboard operation
cmatrix copied to clipboard

Disabling Background Color

Open h3x4g0ns opened this issue 2 years ago • 1 comments

Is it possible to disable to background color when cmatrix runs? I have a color theme applied in the terminal so when cmatrix runs, there's a gray background underneath.

Screenshot_2022-04-21-05-59-22_3440x1440

h3x4g0ns avatar Apr 22 '22 01:04 h3x4g0ns

Can you try building with make and using code from the development branch please?

abishekvashok avatar Jun 20 '22 10:06 abishekvashok

It seems the background color depends on whether use_default_colors is used. And that depends on whether HAVE_USE_DEFAULT_COLORS is defined, which the autoconf script does, but not the CMakeLists.txt file, so I figure that the package you're using was configured with cmake and that's why it's missing this feature.

Checking for the function and defining that macro in the cmake script should solve it.

nikoof avatar Oct 25 '22 19:10 nikoof

just tried building this with default autoconf config and there's no background which is great! just a fyi in case this could be closed.

lilly-lizard avatar Feb 26 '23 09:02 lilly-lizard

Yes, I think it works via autotools and doesn't work with cmake. I think we could use the commit authored by @Nikoof on his fork. @Nikoof would you like to make a pr from your fork?

abishekvashok avatar Feb 28 '23 12:02 abishekvashok

Will do!

nikoof avatar Feb 28 '23 13:02 nikoof

Seems like #168 closes this, let me know if it doesn't :)

abishekvashok avatar Mar 01 '23 13:03 abishekvashok