summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2015-03-31 17:45:10 +0000
committernicm <nicm>2015-03-31 17:45:10 +0000
commit02df86079b1f3155313ebb6f891cf6cf593d3ad9 (patch)
treee7ae66647bb6a838166789e3525cff8dcc755f28 /input-keys.c
parentcd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 (diff)
Fix some format specifier nits, from Ben Boeckel.
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index 040a0605..f2d010d8 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -219,7 +219,7 @@ input_mouse(struct window_pane *wp, struct session *s, struct mouse_event *m)
* legacy format.
*/
if (m->sgr && (wp->screen->mode & MODE_MOUSE_SGR)) {
- len = xsnprintf(buf, sizeof buf, "\033[<%d;%d;%d%c",
+ len = xsnprintf(buf, sizeof buf, "\033[<%u;%u;%u%c",
m->sgr_xb, m->x + 1, m->y + 1,
m->sgr_rel ? 'm' : 'M');
} else if (wp->screen->mode & MODE_MOUSE_UTF8) {