~nasser/8fl

f3dc96628d2e2a5555fcca27299854a8e98f90b9 — Ramsey Nasser 4 months ago aa801dc
Add comment
1 files changed, 4 insertions(+), 0 deletions(-)

M main.lua
M main.lua => main.lua +4 -0
@@ 232,6 232,10 @@ local _new_pattern_func = nil

-- TODO should this be a coroutine?
local cycleSize = 2

-- The number of the last pattern observed. When this differs from the current
-- pattern number, we rerender the pattern. Setting it to nil has the effect of
-- forcing a pattern rerender because the current pattern number is never nil
local lastPatternNumber = nil

-- Start the REPL server