fix(CountersSelector): 'q' shortcut last fixes
This commit is contained in:
parent
f45d979312
commit
642604da9d
@ -235,6 +235,7 @@ local function CountersSelector(initialCountersMap, config)
|
|||||||
elseif keyPressed == keys.enter then
|
elseif keyPressed == keys.enter then
|
||||||
shouldContinue = false
|
shouldContinue = false
|
||||||
elseif keyPressed == keys.q then
|
elseif keyPressed == keys.q then
|
||||||
|
os.pullEvent('key_up') -- fix to avoid writing a 'q' in the terminal on exit
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user