commit 64a05de41e230253b3fa18f569f2224c40819a3f parent a45fc6777c4968ea0d667cc92e0d06ac8c4d1538 Author: regexghost <dev@regexghost.com> Date: Thu, 20 Aug 2026 18:52:18 +0100 shift+enter returns 10 Diffstat:
| M | .gitignore | | | 6 | +++--- |
| M | dmenu.c | | | 7 | +++++++ |
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,6 +1,6 @@ *.rej *.orig *.o -dmenu -patches/ -config.h +/dmenu +/patches/ +/config.h diff --git a/dmenu.c b/dmenu.c @@ -779,6 +779,13 @@ keypress(XKeyEvent *ev) default: return; } + } else if (ev->state & ShiftMask) { + switch(ksym) { + case XK_Return: + case XK_KP_Enter: + pressedEnter(ev, 10, True); + return; + } } switch(ksym) {