mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
3rdparty/linenoise: Support keypad Enter on Windows. (#11109)
This commit is contained in:
parent
ccd49c99d2
commit
ed34e2ed6d
1 changed files with 2 additions and 0 deletions
2
3rdparty/linenoise/linenoise-win32.c
vendored
2
3rdparty/linenoise/linenoise-win32.c
vendored
|
@ -345,6 +345,8 @@ static int fd_read(struct current *current)
|
||||||
return SPECIAL_PAGE_UP;
|
return SPECIAL_PAGE_UP;
|
||||||
case VK_NEXT:
|
case VK_NEXT:
|
||||||
return SPECIAL_PAGE_DOWN;
|
return SPECIAL_PAGE_DOWN;
|
||||||
|
case VK_RETURN:
|
||||||
|
return k->uChar.UnicodeChar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Note that control characters are already translated in AsciiChar */
|
/* Note that control characters are already translated in AsciiChar */
|
||||||
|
|
Loading…
Reference in a new issue