diff options
author | 2014-03-31 21:42:45 +0000 | |
---|---|---|
committer | 2014-03-31 21:42:45 +0000 | |
commit | 46b1c757e165bd5a5b68a6eb8974ce02ea335358 (patch) | |
tree | 1c6d35b78ef6a4931493f68732c781f637704304 /usr.bin/tmux/input-keys.c | |
parent | GRID_DEBUG is no longer needed. (diff) | |
download | wireguard-openbsd-46b1c757e165bd5a5b68a6eb8974ce02ea335358.tar.xz wireguard-openbsd-46b1c757e165bd5a5b68a6eb8974ce02ea335358.zip |
Remove log_debug2 as well and simplify log.c.
Diffstat (limited to 'usr.bin/tmux/input-keys.c')
-rw-r--r-- | usr.bin/tmux/input-keys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/input-keys.c b/usr.bin/tmux/input-keys.c index f38ee8c422b..87b97f37147 100644 --- a/usr.bin/tmux/input-keys.c +++ b/usr.bin/tmux/input-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input-keys.c,v 1.33 2013/05/07 11:00:16 nicm Exp $ */ +/* $OpenBSD: input-keys.c,v 1.34 2014/03/31 21:42:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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) |