]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.c
colorize cvarlist and completion nicely
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index 6cc80770a274b79f7318a0713a644887451cd6d7..2aa3e9437ab94a6f97ea6c9ce9fc84fafb17c2f6 100644 (file)
--- a/cvar.c
+++ b/cvar.c
@@ -220,7 +220,7 @@ void Cvar_CompleteCvarPrint (const char *partial)
        // Loop through the command list and print all matches
        for (cvar = cvar_vars; cvar; cvar = cvar->next)
                if (!strncasecmp(partial, cvar->name, len))
-                       Con_Printf ("%c3%s%s : \"%s\" (\"%s\") : %s\n", STRING_COLOR_TAG, cvar->name, STRING_COLOR_DEFAULT_STR, cvar->string, cvar->defstring, cvar->description);
+                       Con_Printf ("^3%s^7 is \"%s\" [\"%s\"] %s\n", cvar->name, cvar->string, cvar->defstring, cvar->description);
 }