cmatrix icon indicating copy to clipboard operation
cmatrix copied to clipboard

Default Colors Flag

Open nixpulvis opened this issue 3 years ago • 6 comments

It would be nice if there was an option to use the default colors of the terminal instead of the curses supplied ones.

nixpulvis avatar Mar 08 '21 02:03 nixpulvis

I'm working on that now. What argument is most intuitive for this? I'm using "-T" rn

rjraymond avatar Mar 30 '21 13:03 rjraymond

Can you elaborate on exactly what you mean by that? What I'm hearing is "I wish that cmatrix would find the default terminal text color (singular) and use that". Is this what you mean?

rjraymond avatar Mar 30 '21 13:03 rjraymond

I'm talking about the ANSI color codes (e.g. red \e[31m), which there are 9 of.

nixpulvis avatar Mar 30 '21 13:03 nixpulvis

So of all nine of those possibilities, you want cmatrix to choose one based off the current terminal settings?

rjraymond avatar Mar 30 '21 14:03 rjraymond

Ideally,

cmatrix -C red -T

would use my default background, and the same escape \e[31m for red.

nixpulvis avatar Mar 30 '21 15:03 nixpulvis

I haven't seen a terminal background that cmatrix doesn't respect. Just tested on rxvt-univode, xterm, lxterminal, gnome terminal. So you're saying that the actual rgb values for RED, GREEN, etc. are all good, you just want cmatrix to use the default terminal background color instead of overwriting it? I think this is already the case. Can you explain what happens and why you don't like it. What you want to happen, and why?

rjraymond avatar Mar 30 '21 15:03 rjraymond