From 211b11d37f9fe25b41775ace9337f72b73350f76 Mon Sep 17 00:00:00 2001 From: ThePeiLin Date: Fri, 23 Dec 2022 18:34:34 +0800 Subject: [PATCH] fix Special key does not work in linux --- src/sdltiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdltiles.cpp b/src/sdltiles.cpp index 349d3dcb2e171..80589869ab732 100644 --- a/src/sdltiles.cpp +++ b/src/sdltiles.cpp @@ -3202,7 +3202,7 @@ static void CheckMessages() last_input = input_event( lc, input_event_t::keyboard_char ); } else { // no key pressed in this event - last_input = input_event(); + // last_input = input_event(); //i don't know why it works last_input.type = input_event_t::keyboard_char; } last_input.edit = ev.edit.text;