From 642604da9da135c3e7b893944414911c69531171 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Thu, 23 May 2024 22:34:46 +0200 Subject: [PATCH] fix(CountersSelector): 'q' shortcut last fixes --- libs/ui/CountersSelector.lua | 1 + 1 file changed, 1 insertion(+) 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