notifications anchor option

This commit is contained in:
kepler155c@gmail.com
2019-03-26 02:10:10 -04:00
parent daa86d50b2
commit ade354660f
2 changed files with 19 additions and 10 deletions

View File

@@ -374,8 +374,11 @@ function Manager:mergeProperties(obj, args)
end
function Manager:pullEvents(...)
Event.pullEvents(...)
local s, m = pcall(Event.pullEvents, ...)
self.term:reset()
if not s and m then
error(m, -1)
end
end
function Manager:exitPullEvents()