The reworked noncurses mode uses a custom framebuffer technique that
only draws changes per frame and only writes to the terminal once per
frame. This results in far less cpu usage then ncurses. It is also
free of the flickering that we se in ncurses mode #196
Colors are no longer set by default so hopefully cava will change
color automatically in noncurses mode when using tools such as
pywall #340#181
Unfortunently html colors, gradient and key controls are not supported
in noncurses.
the code has up until now used shorthand var names such as bw
for bar width and lcf for lower cut-off frequency. There is no
need for this. We are now moving to a naming scheme of
descriptive names on two to three words using underscores.
Refs #275.
While it was mentioned that the ability to acquire this information from MPD
would be useful, allowing it to be configured explicitly could be allow FIFO
to be used for non-MPD sources as well.
the issue was caused by check for user setting to many bars where run
with bar width and spacing stil set, these are now hardcoded to 1 and 0
width is still harcoded to 200 thus preventing user seting > 200 bars
Backwards incompatible change: cycle foreground color changed from 'c' to 'f'
so that color reload can be 'c'.
License: MIT
Signed-off-by: David Grisham <dgrisham@mines.edu>
Now, the option to configure gradient with more than 2 colors is
supported. To use this, write the following in your config :
gradient = 1
gradient_count = <num>
gradient_color_1 = <col>
gradient_color_2 = <col>
gradient_color_3 = <col>
.
.
.
gradient_color_<num> = <col>
Replace <num> with the number of colors (2 <= colors <= 8), and replace
<col>s with your colors of choice. You must explicitly provide all
colors for the gradient to work, otherwise appropiate errors will be
shown.