about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--life.tlv4
1 files changed, 4 insertions, 0 deletions
diff --git a/life.tlv b/life.tlv
index 2b58e21..f53e19c 100644
--- a/life.tlv
+++ b/life.tlv
@@ -200,6 +200,10 @@ function update(window, c)
 end]==],
   main = [==[
 function main()
+  for i=1,7 do
+    curses.init_pair(i, i, -1)
+  end
+
   -- initialize grid based on commandline args
   if (#arg == 0) then
     -- by default, start from a deterministically random state