]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Squashed commit of the following:
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 29 Jan 2011 22:05:24 +0000 (22:05 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 29 Jan 2011 22:05:24 +0000 (22:05 +0000)
commit 4eece1a8617ec2e21dbc8732af65727792e432fb
Author: terencehill <piuntn@gmail.com>
Date:   Thu Jan 13 17:26:51 2011 +0100

    Color directories with blue when using autocompletion in the console. Improves readability.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10780 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index db3718c350ce2494881f32e19a91cdd9e052d4f3..ae73809b9d8decedd2274775a520f37f270a88bb 100644 (file)
--- a/console.c
+++ b/console.c
@@ -2826,7 +2826,7 @@ void Con_CompleteCommandLine (void)
                                                Con_Printf("\n%i possible filenames\n", resultbuf.numstrings + dirbuf.numstrings);
                                                for(i = 0; i < dirbuf.numstrings; ++i)
                                                {
-                                                       Con_Printf("%s/\n", dirbuf.strings[i]);
+                                                       Con_Printf("^4%s^7/\n", dirbuf.strings[i]);
                                                }
                                                for(i = 0; i < resultbuf.numstrings; ++i)
                                                {