mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 13:54:54 +02:00
Remove log_debug2 as well and simplify log.c.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user