Remove log_debug2 as well and simplify log.c.

This commit is contained in:
Nicholas Marriott
2014-03-07 16:05:29 +00:00
parent c5a30513ed
commit b1a87b2ee4
4 changed files with 26 additions and 62 deletions

View File

@ -142,7 +142,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
@ -185,11 +185,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)