aboutsummaryrefslogtreecommitdiff
path: root/termo.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-09-14 18:06:17 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-09-14 18:06:17 +0200
commit8c4e867760eb20e3cdf997a301c8f8672c01e380 (patch)
treeef8916ab3e9797a716ca9a02b44ddd6de2bc16ba /termo.c
parentdd3f77a0aaa11fca85e271cc86338c454afcb3c4 (diff)
downloadtermo-8c4e867760eb20e3cdf997a301c8f8672c01e380.tar.gz
termo-8c4e867760eb20e3cdf997a301c8f8672c01e380.tar.xz
termo-8c4e867760eb20e3cdf997a301c8f8672c01e380.zip
Fix strfkey with focus events
Diffstat (limited to 'termo.c')
-rw-r--r--termo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/termo.c b/termo.c
index b39fce6..e78d1b8 100644
--- a/termo.c
+++ b/termo.c
@@ -1577,6 +1577,7 @@ termo_strfkey_generic (termo_t *tk, char *buffer, size_t len,
}
case TERMO_TYPE_FOCUS:
l = snprintf (buffer + pos, len - pos, "Focus(%d)", key->code.focused);
+ break;
case TERMO_TYPE_POSITION:
l = snprintf (buffer + pos, len - pos, "Position");
break;