local keys = require 'vkeys'
local windowShow = imgui.ImBool(false)
function onWindowMessage(msg, wparam, lparam)
if msg == 0x100 or msg == 0x101 then
if (wparam == keys.VK_ESCAPE and windowShow.v) and not isPauseMenuActive() then
consumeWindowMessage(true, false)
if msg == 0x101 then
windowShow.v = false
end
end
end
end