about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-11-14 14:40:55 -0800
committerKartik Agaram <vc@akkartik.com>2021-11-14 14:40:55 -0800
commit428afbb19da418704ea7796a79ca71e566745cf5 (patch)
treeaed01866c8130bed68b7e88c8b0ca4a72a6dd2d7
parent720d728a8d16df2d57cbac7696adff319b6fa21a (diff)
downloadteliva-428afbb19da418704ea7796a79ca71e566745cf5.tar.gz
demo
https://archive.org/details/akkartik-2021-11-14
-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