mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-25 05:59:43 +00:00
CLI command -keys
This commit is contained in:
@@ -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