From: divverent Date: Sat, 29 Jan 2011 22:05:24 +0000 (+0000) Subject: Squashed commit of the following: X-Git-Tag: xonotic-v0.5.0~438^2~61 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=689cd6174cbe08641baaf7e59f33daa198bda63a;p=xonotic%2Fdarkplaces.git Squashed commit of the following: commit 4eece1a8617ec2e21dbc8732af65727792e432fb Author: terencehill 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 --- diff --git a/console.c b/console.c index db3718c3..ae73809b 100644 --- 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) {