3rdparty/linenoise: Support keypad Enter on Windows. (#11109)

This commit is contained in:
feos 2023-04-17 20:34:25 +03:00 committed by GitHub
parent ccd49c99d2
commit ed34e2ed6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 */