=== modified file 'termkey.c' --- termkey.c 2009-11-24 01:25:40 +0000 +++ termkey.c 2009-11-24 01:22:55 +0000 @@ -921,7 +921,7 @@ 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; }