mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-17 16:38:09 +08:00
Fix xterm parsing. unsigned vs signed char problem.
This commit is contained in:
@@ -128,7 +128,7 @@ Event Event::GetEvent(std::function<char()> getchar) {
|
||||
return ParseESC(getchar, input);
|
||||
}
|
||||
|
||||
if (input[0] < 32) // C0
|
||||
if (input[0] >= 0 && input[0] < 32) // C0
|
||||
return Event::Special(input);
|
||||
|
||||
return ParseUTF8(getchar, input);
|
||||
|
Reference in New Issue
Block a user