Skip to content

Commit

Permalink
3rdparty/linenoise: Support keypad Enter on Windows. (mamedev#11109)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadosnaprimer authored Apr 17, 2023
1 parent ccd49c9 commit ed34e2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 3rdparty/linenoise/linenoise-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ static int fd_read(struct current *current)
return SPECIAL_PAGE_UP;
case VK_NEXT:
return SPECIAL_PAGE_DOWN;
case VK_RETURN:
return k->uChar.UnicodeChar;
}
}
/* Note that control characters are already translated in AsciiChar */
Expand Down

0 comments on commit ed34e2e

Please sign in to comment.