diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-12-02 20:40:51 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-12-02 20:40:51 -0800 |
commit | 148fe6dfbdf19c418363a9244e439d3ce6eaab12 (patch) | |
tree | c2688a0ca65b34508c22f0bd68b05d5298661b87 | |
parent | 3f930ed73e1f6f3fb3b01f775b15a90d10fa69f2 (diff) | |
download | teliva-148fe6dfbdf19c418363a9244e439d3ce6eaab12.tar.gz |
more speculatively efficient advent.tlv
-rw-r--r-- | advent.tlv | 9 |
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]==], |