diff --git a/xlib/event.c b/xlib/event.c index cdbcc0a7..5ace3d5c 100644 --- a/xlib/event.c +++ b/xlib/event.c @@ -268,6 +268,10 @@ _Bool doevent(XEvent event) } } + if(sym == XK_KP_Enter){ + sym = XK_Return; + } + if(sym == XK_Return && (ev->state & 1)) { edit_char('\n', 0, 0); break;