1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 19:54:47 +00:00

display F4 key name correctly, and 'fake keys' not displayed

This commit is contained in:
Zeno Rogue 2022-10-27 12:50:59 +02:00
parent 7267b3c7ce
commit 2d1cff6549

View File

@ -172,6 +172,8 @@ EX namespace dialog {
if(k == SDLK_F10) return "F10";
if(k == SDLK_F9) return "F9";
if(k == SDLK_F1) return "F1";
if(k == SDLK_F4) return "F4";
if(k >= 10000 && k < 10500) return "";
if(k == SDLK_HOME) return "Home";
if(k == SDLK_BACKSPACE) return "Backspace";
if(k == SDLK_RETURN) return "Enter";