aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-24 01:25:40 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-24 01:25:40 +0000
commitceeaf717bdbb57caa9d4e8d34c8cd1e0fe818c67 (patch)
tree1f66bcd0a827cc3a801e82dd08e17437548c489f
parent2ba9849ab536645f621e311f7afa48e5199055d1 (diff)
downloadtermo-ceeaf717bdbb57caa9d4e8d34c8cd1e0fe818c67.tar.gz
termo-ceeaf717bdbb57caa9d4e8d34c8cd1e0fe818c67.tar.xz
termo-ceeaf717bdbb57caa9d4e8d34c8cd1e0fe818c67.zip
Print Mouse() rather than shouting MOUSE()
-rw-r--r--termkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey.c b/termkey.c
index 147b82d..b0a908a 100644
--- a/termkey.c
+++ b/termkey.c
@@ -921,7 +921,7 @@ size_t termkey_snprint_key(TermKey *tk, char *buffer, size_t len, TermKeyKey *ke
l = snprintf(buffer + pos, len - pos, "F%d", key->code.number);
break;
case TERMKEY_TYPE_MOUSE:
- l = snprintf(buffer + pos, len - pos, "MOUSE(0x%02x,%d,%d)",
+ l = snprintf(buffer + pos, len - pos, "Mouse(0x%02x,%d,%d)",
key->code.mouse.buttons, key->code.mouse.line, key->code.mouse.col);
break;
}