summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-10-26 18:01:12 +0000
committerThomas Adam <thomas@xteddy.org>2015-10-26 18:01:12 +0000
commit54a3ed751e111833ca7f34563676d92f407709ce (patch)
treeb4f9d210100355f3560800ff0904a91cbf2fe17c /input-keys.c
parente95df0bc3982ef7367b48236837069013642be14 (diff)
parenta22fe33aa00d4e29e8d71b58b8f728d83e5d23f3 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/input-keys.c b/input-keys.c
index 123044fe..b43e69d7 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -144,7 +144,8 @@ input_key(struct window_pane *wp, int key, struct mouse_event *m)
char *out;
u_char ch;
- log_debug("writing key 0x%x (%s)", key, key_string_lookup_key(key));
+ log_debug("writing key 0x%x (%s) to %%%u", key,
+ key_string_lookup_key(key), wp->id);
/* If this is a mouse key, pass off to mouse function. */
if (KEYC_IS_MOUSE(key)) {
@@ -250,6 +251,6 @@ input_key_mouse(struct window_pane *wp, struct mouse_event *m)
buf[len++] = x + 33;
buf[len++] = y + 33;
}
- log_debug("writing mouse %.*s", (int)len, buf);
+ log_debug("writing mouse %.*s to %%%u", (int)len, buf, wp->id);
bufferevent_write(wp->event, buf, len);
}