Fix oversights from 2992

This commit is contained in:
Chris Thrasher 2024-06-24 12:04:43 -06:00
parent cede2def8b
commit 913021e294

View File

@ -503,7 +503,7 @@ std::optional<sf::Event> eventProcess()
if (ready > 0 && FD_ISSET(STDIN_FILENO, &readFDSet)) if (ready > 0 && FD_ISSET(STDIN_FILENO, &readFDSet))
bytesRead = read(STDIN_FILENO, &code, 1); bytesRead = read(STDIN_FILENO, &code, 1);
if ((code == 127) || (code == 8)) // Suppress127 (DEL) to 8 (BACKSPACE) if ((code == 127) || (code == 8)) // Suppress 127 (DEL) to 8 (BACKSPACE)
code = 0; code = 0;
else if (code == 27) // ESC else if (code == 27) // ESC
{ {
@ -592,7 +592,7 @@ String getDescription(Keyboard::Scancode /* code */)
} }
/////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void setVirtualKeyboardVisible(bool /*visible*/) void setVirtualKeyboardVisible(bool /*visible*/)
{ {
// Not applicable // Not applicable