[Pcsclite-cvs-commit] r5919 - /trunk/PCSC/src/debuglog.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Aug 28 15:13:56 UTC 2011


Author: rousseau
Date: Sun Aug 28 15:13:56 2011
New Revision: 5919

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5919
Log:
DebugLogSetLogType(): xterm-256color is also a color terminal

xterm-256color is used by the Terminal application on Mac OS X (Lion)

Modified:
    trunk/PCSC/src/debuglog.c

Modified: trunk/PCSC/src/debuglog.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/debuglog.c?rev=5919&op=diff
==============================================================================
--- trunk/PCSC/src/debuglog.c (original)
+++ trunk/PCSC/src/debuglog.c Sun Aug 28 15:13:56 2011
@@ -224,7 +224,7 @@
 	if ((DEBUGLOG_STDOUT_DEBUG == LogMsgType && isatty(fileno(stdout)))
 		|| (DEBUGLOG_STDOUT_COLOR_DEBUG == LogMsgType))
 	{
-		const char *terms[] = { "linux", "xterm", "xterm-color", "Eterm", "rxvt", "rxvt-unicode" };
+		const char *terms[] = { "linux", "xterm", "xterm-color", "Eterm", "rxvt", "rxvt-unicode", "xterm-256color" };
 		char *term;
 
 		term = getenv("TERM");




More information about the Pcsclite-cvs-commit mailing list