b19d752832
Update from 0.7.1 to 0.7.3 brings several improvements and bug fixes[1][2]. More important ones are: - Fix install on macos - ncurses mode is now default again - Improved portaudio audio input - Added Hann windowing and proper ring buffer [1] https://github.com/karlstav/cava/releases/tag/0.7.3 [2] https://github.com/karlstav/cava/releases/tag/0.7.2 PR: 250862 Submitted by: Adam Jimerson <vendion@gmail.com> (takes maintainership) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D27091
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
Remove noncurses output method which only produces a garbled mess
|
|
on terminals.
|
|
|
|
--- config.c.orig 2020-10-29 12:33:01 UTC
|
|
+++ config.c
|
|
@@ -181,10 +181,6 @@ bool validate_config(struct config_params *p, struct e
|
|
return false;
|
|
#endif
|
|
}
|
|
- if (strcmp(outputMethod, "noncurses") == 0) {
|
|
- p->om = OUTPUT_NONCURSES;
|
|
- p->bgcol = 0;
|
|
- }
|
|
if (strcmp(outputMethod, "raw") == 0) { // raw:
|
|
p->om = OUTPUT_RAW;
|
|
p->bar_spacing = 0;
|
|
@@ -220,7 +216,7 @@ bool validate_config(struct config_params *p, struct e
|
|
#ifndef NCURSES
|
|
write_errorf(
|
|
error,
|
|
- "output method %s is not supported, supported methods are: 'noncurses' and 'raw'\n",
|
|
+ "output method %s is not supported, supported methods are: 'raw'\n",
|
|
outputMethod);
|
|
return false;
|
|
#endif
|
|
@@ -228,7 +224,7 @@ bool validate_config(struct config_params *p, struct e
|
|
#ifdef NCURSES
|
|
write_errorf(error,
|
|
"output method %s is not supported, supported methods are: 'ncurses', "
|
|
- "'noncurses' and 'raw'\n",
|
|
+ "and 'raw'\n",
|
|
outputMethod);
|
|
return false;
|
|
#endif
|