diff --git a/libs/ui/CountersSelector.lua b/libs/ui/CountersSelector.lua index 311efc7..672cec4 100644 --- a/libs/ui/CountersSelector.lua +++ b/libs/ui/CountersSelector.lua @@ -235,6 +235,7 @@ local function CountersSelector(initialCountersMap, config) elseif keyPressed == keys.enter then shouldContinue = false elseif keyPressed == keys.q then + os.pullEvent('key_up') -- fix to avoid writing a 'q' in the terminal on exit return nil end end