diff options
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -415,9 +415,8 @@ keypress(XKeyEvent *ev) switch(ksym) { default: insert: - if (iscntrl((unsigned char)*buf)) - return; - insert(buf, len); + if (!iscntrl(*buf)) + insert(buf, len); break; case XK_Delete: case XK_KP_Delete: |