mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-03 14:34:30 +00:00
CLI command -keys
This commit is contained in:
1 parent
64ece33a97
commit
a788b9e540
2 files changed
+26
-1
No files matched your search
+2
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user