CLI command -keys

This commit is contained in:
Zeno Rogue committed 2022-04-26 16:19:02 +02:00
1 parent 64ece33a97
commit a788b9e540
2 files changed
+26 -1

No files matched your search

+2 -1
View File
@@ -940,8 +940,9 @@ EX void mainloopiter() {
for(auto d: dialog::key_queue) {
println(hlog, "handling key ", d);
handlekey(d, d);
dialog::key_queue.erase(dialog::key_queue.begin());
break;
}
dialog::key_queue.clear();
while(SDL_PollEvent(&ev)) handle_event(ev);
fix_mouseh();