aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-18 15:55:29 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-18 15:55:29 +0000
commit14561e2a3012e9ccd3321a4dc4850ca3d17f23b0 (patch)
tree80123c8967c1ea07d14f1c5beb2b74d6625855f4
parent56634d0c82b412e1c34507ef287342b9e79aabc6 (diff)
downloadtermo-14561e2a3012e9ccd3321a4dc4850ca3d17f23b0.tar.gz
termo-14561e2a3012e9ccd3321a4dc4850ca3d17f23b0.tar.xz
termo-14561e2a3012e9ccd3321a4dc4850ca3d17f23b0.zip
Only print about unrecognised terminfo variable names when debugging
-rw-r--r--driver-ti.c5
1 files changed, 4 insertions, 1 deletions
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;
}