Introduction
Introduction Statistics Contact Development Disclaimer Help
Revert "avoid redraw when there's no change" - dmenu - dynamic menu
git clone git://git.suckless.org/dmenu
Log
Files
Refs
README
LICENSE
---
commit 31fa07b9849b0ffbf4b7efb55943f466b3ff160f
parent 6818e07291f3b2913e687c8ec3d3fe4711724050
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 26 Mar 2022 17:57:50 +0100
Revert "avoid redraw when there's no change"
This reverts commit 6818e07291f3b2913e687c8ec3d3fe4711724050.
This broke keys such as ^W to delete-backward-word
Diffstat:
M dmenu.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/dmenu.c b/dmenu.c
@@ -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:
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.