diff --git a/lua/libmodal/src/Layer.lua b/lua/libmodal/src/Layer.lua index d9c5f54..af33025 100644 --- a/lua/libmodal/src/Layer.lua +++ b/lua/libmodal/src/Layer.lua @@ -82,6 +82,11 @@ function _metaLayer:enter() end self._priorKeymap = priorKeymap + + local Popup = require('libmodal/src/collections/Popup') + -- TODO: configure `Popup.options` and add the text. + + self._popup = Popup.new() end -------------------------------------------------------- @@ -217,6 +222,9 @@ function _metaLayer:exit() end end self._priorKeymap = _RESTORED + + self._popup:close() + self._popup = nil end --[[