Only print about unrecognised terminfo variable names when debugging

This commit is contained in:
Paul LeoNerd Evans 2008-11-18 15:55:29 +00:00
parent 56634d0c82
commit 14561e2a30
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}