Skip to content

Commit

Permalink
Merge pull request notsecure#408 from MauriceMohlek/fixReturn
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Sep 16, 2014
2 parents 4eacf55 + c94de7b commit 1dd6801
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xlib/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1dd6801

Please sign in to comment.