diff options
Diffstat (limited to 'src/custom.c')
-rw-r--r-- | src/custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custom.c b/src/custom.c index 246af1d..9443365 100644 --- a/src/custom.c +++ b/src/custom.c @@ -908,7 +908,7 @@ print_keys_bindings(WINDOW * win, int selected_row, int selected_elm, mvwprintw(win, y, pos, "%s ", key); noelm++; - pos += strlen(key) + 1; + pos += utf8_strwidth((char *)key) + 1; } } else { mvwaddstr(win, y, KEYPOS, |