Print Mouse() rather than shouting MOUSE()

This commit is contained in:
Paul LeoNerd Evans 2009-11-24 01:25:40 +00:00
parent 2ba9849ab5
commit ceeaf717bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }