1
0
mirror of git://git.suckless.org/dmenu synced 2024-12-12 09:25:31 +00:00

Revert "avoid redraw when there's no change"

This reverts commit 6818e07291.

This broke keys such as ^W to delete-backward-word
This commit is contained in:
Hiltjo Posthuma 2022-03-26 17:57:50 +01:00
parent 6818e07291
commit 31fa07b984

View File

@ -415,8 +415,7 @@ keypress(XKeyEvent *ev)
switch(ksym) {
default:
insert:
if (iscntrl((unsigned char)*buf))
return;
if (!iscntrl(*buf))
insert(buf, len);
break;
case XK_Delete: