]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Change directory text colour in console from blue to light cyan (#197)
authorJames O'Neill <hemebond@gmail.com>
Wed, 18 Sep 2024 15:05:51 +0000 (00:05 +0900)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2024 15:05:51 +0000 (00:05 +0900)
Updates the console text colour for directories from dark blue to light
cyan. Fixed #196

![colour-old](https://github.com/user-attachments/assets/1e850b31-39a5-48b6-8804-6dd679f2f0f0)

![colour-new](https://github.com/user-attachments/assets/74124d33-cd0c-4b14-bf21-c65f0709cfd3)

console.c

index 180f895796f108dff827c014a66f47aebf95fdc1..2ae6c8a629ec130a01a05e310e43bb84308eca87 100644 (file)
--- a/console.c
+++ b/console.c
@@ -3071,7 +3071,8 @@ int Con_CompleteCommandLine(cmd_state_t *cmd, qbool is_console)
                                                Con_Printf("\n%i possible filenames\n", resultbuf.numstrings + dirbuf.numstrings);
                                                for(i = 0; i < dirbuf.numstrings; ++i)
                                                {
-                                                       Con_Printf("^4%s^7/\n", dirbuf.strings[i]);
+                                                       // Print directory names/paths to the console in light blue
+                                                       Con_Printf("^5%s^7/\n", dirbuf.strings[i]);
                                                }
                                                for(i = 0; i < resultbuf.numstrings; ++i)
                                                {