From 14561e2a3012e9ccd3321a4dc4850ca3d17f23b0 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Tue, 18 Nov 2008 15:55:29 +0000 Subject: [PATCH] Only print about unrecognised terminfo variable names when debugging --- driver-ti.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/driver-ti.c b/driver-ti.c index 2470717..fd07c36 100644 --- a/driver-ti.c +++ b/driver-ti.c @@ -356,7 +356,10 @@ static int funcname2keysym(const char *funcname, termkey_type *typep, termkey_ke return 1; } - printf("TODO: Need to convert funcname %s to a type/sym\n", funcname); +#ifdef DEBUG + fprintf(stderr, "TODO: Need to convert funcname %s to a type/sym\n", funcname); +#endif + return 0; }