Fix strfkey with focus events

This commit is contained in:
Přemysl Eric Janouch 2020-09-14 18:06:17 +02:00
parent dd3f77a0aa
commit 8c4e867760
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -1577,6 +1577,7 @@ termo_strfkey_generic (termo_t *tk, char *buffer, size_t len,
} }
case TERMO_TYPE_FOCUS: case TERMO_TYPE_FOCUS:
l = snprintf (buffer + pos, len - pos, "Focus(%d)", key->code.focused); l = snprintf (buffer + pos, len - pos, "Focus(%d)", key->code.focused);
break;
case TERMO_TYPE_POSITION: case TERMO_TYPE_POSITION:
l = snprintf (buffer + pos, len - pos, "Position"); l = snprintf (buffer + pos, len - pos, "Position");
break; break;