diff options
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1275,7 +1275,10 @@ process_key: append_key: if (key <= 0x1f || key >= KEYC_BASE) return (0); - utf8_to_data(key, &tmp); + if (key <= 0x7f) + utf8_set(&tmp, key); + else + utf8_to_data(key, &tmp); c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 2, sizeof *c->prompt_buffer); |