=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.83 retrieving revision 1.84 diff -c -r1.83 -r1.84 *** src/usr.bin/tmux/input.c 2015/08/29 08:30:54 1.83 --- src/usr.bin/tmux/input.c 2015/09/01 19:16:00 1.84 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.83 2015/08/29 08:30:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.84 2015/09/01 19:16:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 862,871 **** notify_input(wp, evb); off = 0; /* Parse the input. */ while (off < len) { ictx->ch = buf[off++]; - log_debug("%s: '%c' %s", __func__, ictx->ch, ictx->state->name); /* Find the transition. */ itr = ictx->state->transitions; --- 862,873 ---- notify_input(wp, evb); off = 0; + log_debug("%s: %s, %zu bytes: %.*s", __func__, ictx->state->name, len, + (int)len, buf); + /* Parse the input. */ while (off < len) { ictx->ch = buf[off++]; /* Find the transition. */ itr = ictx->state->transitions; *************** *** 1070,1076 **** struct window_pane *wp = ictx->wp; struct screen *s = sctx->s; ! log_debug("%s: '%c", __func__, ictx->ch); switch (ictx->ch) { case '\000': /* NUL */ --- 1072,1078 ---- struct window_pane *wp = ictx->wp; struct screen *s = sctx->s; ! log_debug("%s: '%c'", __func__, ictx->ch); switch (ictx->ch) { case '\000': /* NUL */