Ludovic Rousseau: rxvt can also do color so here is a patch.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2322 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
0372069d74
commit
1d8357ec7e
|
@ -361,7 +361,7 @@ __sc_ui_read_pin(sc_context_t *ctx, const char *prompt,
|
|||
static int
|
||||
use_color(sc_context_t *ctx, FILE * outf)
|
||||
{
|
||||
static const char *terms[] = { "linux", "xterm", "Eterm" };
|
||||
static const char *terms[] = { "linux", "xterm", "Eterm", "rxvt" };
|
||||
static char *term = NULL;
|
||||
int term_count = sizeof(terms) / sizeof(terms[0]);
|
||||
int do_color, i;
|
||||
|
|
Loading…
Reference in New Issue