mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Remove log_debug2 as well and simplify log.c.
This commit is contained in:
parent
7bdb675469
commit
48478ea0a9
3 changed files with 25 additions and 60 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue