about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-12-02 20:40:51 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-12-02 20:40:51 -0800
commit148fe6dfbdf19c418363a9244e439d3ce6eaab12 (patch)
treec2688a0ca65b34508c22f0bd68b05d5298661b87
parent3f930ed73e1f6f3fb3b01f775b15a90d10fa69f2 (diff)
downloadteliva-148fe6dfbdf19c418363a9244e439d3ce6eaab12.tar.gz
more speculatively efficient advent.tlv
-rw-r--r--advent.tlv9
1 files changed, 3 insertions, 6 deletions
diff --git a/advent.tlv b/advent.tlv
index 8368c91..2acb5dd 100644
--- a/advent.tlv
+++ b/advent.tlv
@@ -99,12 +99,9 @@ original]==],
 function render(window)
   clear()
   -- draw stuff to screen here
-  bold()
-  mpr(1, 5, "example app")
-  norm()
-  for i=0,15 do
-    color(i)
-    mpr(3+i, 5, "========================")
+  for line in io.lines("input") do
+    pr(line)
+    pr("\n")
   end
   refresh()
 end]==],