to pass it on to application inside the pane.
-/* $OpenBSD: input-keys.c,v 1.42 2015/04/19 21:34:21 nicm Exp $ */
+/* $OpenBSD: input-keys.c,v 1.43 2015/04/21 15:21:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
buf[len++] = x + 33;
buf[len++] = y + 33;
}
+ log_debug("writing mouse %.*s", (int)len, buf);
bufferevent_write(wp->event, buf, len);
}
-/* $OpenBSD: server-client.c,v 1.132 2015/04/20 15:34:56 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.133 2015/04/21 15:21:41 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
c->tty.mouse_drag_release = NULL;
c->tty.mouse_drag_flag = 0;
- return (KEYC_NONE);
+ return (KEYC_MOUSE); /* not a key, but still may want to pass */
}
/* Convert to a key binding. */