We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4854bd + 25efb44 commit d056195Copy full SHA for d056195
input.hpp
@@ -133,7 +133,7 @@ struct Input {
133
char ignore_byte = 0;
134
auto input = Input(SpecKey::None);
135
#ifdef _WIN32
136
- if (byte == 0 || byte == 224) {
+ if (byte == 0 || byte == 224 || byte == -32) {
137
char next_byte = get_char();
138
switch (next_byte) {
139
case 59:
@@ -144,12 +144,6 @@ struct Input {
144
return Input(SpecKey::F3);
145
case 62:
146
return Input(SpecKey::F4);
147
- default:
148
- break;
149
- }
150
- } else if (byte == -32) {
151
- char next_byte = get_char();
152
- switch (next_byte) {
153
case 72:
154
return Input(Arrow::Up);
155
case 75:
0 commit comments