Remove log_debug2 as well and simplify log.c.

This commit is contained in:
nicm
2014-03-31 21:42:45 +00:00
parent 7bdb675469
commit 48478ea0a9
3 changed files with 25 additions and 60 deletions

View File

@ -143,7 +143,7 @@ input_key(struct window_pane *wp, int key)
char *out;
u_char ch;
log_debug2("writing key 0x%x", key);
log_debug("writing key 0x%x", key);
/*
* If this is a normal 7-bit key, just send it, with a leading escape
@ -186,11 +186,11 @@ input_key(struct window_pane *wp, int key)
break;
}
if (i == nitems(input_keys)) {
log_debug2("key 0x%x missing", key);
log_debug("key 0x%x missing", key);
return;
}
dlen = strlen(ike->data);
log_debug2("found key 0x%x: \"%s\"", key, ike->data);
log_debug("found key 0x%x: \"%s\"", key, ike->data);
/* Prefix a \033 for escape. */
if (key & KEYC_ESCAPE)