[Pcsclite-git-commit] [pcsc-tools] 07/32: pcsc_scan: add support of xterm-256color

Ludovic Rousseau rousseau at moszumanska.debian.org
Thu May 4 15:44:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository pcsc-tools.

commit 19f071d0cdb4900cd3e7f63db3ff2ef9058e9977
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sat Apr 8 14:33:20 2017 +0200

    pcsc_scan: add support of xterm-256color
    
    A xterm-256color terminal also has support of colors.
---
 pcsc_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcsc_scan.c b/pcsc_scan.c
index ae65f67..5df49a8 100644
--- a/pcsc_scan.c
+++ b/pcsc_scan.c
@@ -120,7 +120,7 @@ int main(int argc, char *argv[])
 
 	/* check if terminal supports color */
 	{
-		const char *terms[] = { "linux", "xterm", "xterm-color", "Eterm", "rxvt", "rxvt-unicode" };
+		const char *terms[] = { "linux", "xterm", "xterm-color", "xterm-256color", "Eterm", "rxvt", "rxvt-unicode" };
 		char *term;
 
 		term = getenv("TERM");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/pcsc-tools.git



More information about the Pcsclite-cvs-commit mailing list