Print Mouse() rather than shouting MOUSE()
This commit is contained in:
parent
2ba9849ab5
commit
ceeaf717bd
|
@ -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);
|
l = snprintf(buffer + pos, len - pos, "F%d", key->code.number);
|
||||||
break;
|
break;
|
||||||
case TERMKEY_TYPE_MOUSE:
|
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);
|
key->code.mouse.buttons, key->code.mouse.line, key->code.mouse.col);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue