This commit is contained in:
kepler155c@gmail.com
2017-01-01 21:46:37 -05:00
parent aba2ae31ea
commit 74e93068fb
3 changed files with 56 additions and 27 deletions

View File

@@ -518,6 +518,10 @@ while true do
local tEventData = { os.pullEventRaw() }
local sEvent = table.remove(tEventData, 1)
if sEvent == 'key_up' then
processKeyEvent(sEvent, tEventData[1])
end
if sEvent == "term_resize" then
-- Resize event
w,h = parentTerm.getSize()