aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-05-26 08:42:55 +0100
committerThomas Adam <thomas@xteddy.org>2020-05-26 08:42:55 +0100
commit967e5f8be3d89c6b604484d3b7b2a1ff25db06a5 (patch)
treeabdf31d46ae31d0bf7b705454e7bf86ccebc06b9 /status.c
parentfd4d3e87938206d8d05509162c3f3a3c274bb478 (diff)
parent6f03e49e68dfe0d9c0c7d49079c4383b26aca916 (diff)
downloadrtmux-967e5f8be3d89c6b604484d3b7b2a1ff25db06a5.tar.gz
rtmux-967e5f8be3d89c6b604484d3b7b2a1ff25db06a5.tar.bz2
rtmux-967e5f8be3d89c6b604484d3b7b2a1ff25db06a5.zip
Merge branch 'obsd-master'
Diffstat (limited to 'status.c')
-rw-r--r--status.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/status.c b/status.c
index 93ac70df..ad4d6cda 100644
--- a/status.c
+++ b/status.c
@@ -1275,8 +1275,7 @@ process_key:
append_key:
if (key <= 0x1f || key >= KEYC_BASE)
return (0);
- if (utf8_split(key, &tmp) != UTF8_DONE)
- return (0);
+ utf8_to_data(key, &tmp);
c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 2,
sizeof *c->prompt_buffer);