summaryrefslogtreecommitdiffhomepage
path: root/MainLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MainLoop.cpp')
-rw-r--r--MainLoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MainLoop.cpp b/MainLoop.cpp
index 8f3e399..c01ccdb 100644
--- a/MainLoop.cpp
+++ b/MainLoop.cpp
@@ -141,7 +141,7 @@ int MainLoop::run()
m_pcm.write();
}
- if (m_ui.key_available()) {
+ while (m_ui.key_available()) {
m_ui.handle_input();
}