We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88be187 commit 25efb44Copy full SHA for 25efb44
input.hpp
@@ -141,7 +141,7 @@ struct Input {
141
char ignore_byte = 0;
142
auto input = Input(SpecKey::None);
143
#ifdef _WIN32
144
- if (byte == 0 || byte == 224) {
+ if (byte == 0 || byte == 224 || byte == -32) {
145
char next_byte = get_char();
146
switch (next_byte) {
147
case 59:
@@ -152,12 +152,6 @@ struct Input {
152
return Input(SpecKey::F3);
153
case 62:
154
return Input(SpecKey::F4);
155
- default:
156
- break;
157
- }
158
- } else if (byte == -32) {
159
- char next_byte = get_char();
160
- switch (next_byte) {
161
case 72:
162
return Input(Arrow::Up);
163
case 75:
0 commit comments