about summary refs log tree commit diff stats
path: root/counter.tlv
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-02 22:15:01 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-03-02 22:15:01 -0800
commit68d956e31af9f4230b6a6ecfa9a53b5513d408aa (patch)
tree43e4e547d3f9abbde567f760e6416bc5a62e8154 /counter.tlv
parentafb3f46db70b1ae1cfdab50908923ea77e508264 (diff)
downloadteliva-68d956e31af9f4230b6a6ecfa9a53b5513d408aa.tar.gz
distinguish between window global and arg
Diffstat (limited to 'counter.tlv')
-rw-r--r--counter.tlv8
1 files changed, 4 insertions, 4 deletions
diff --git a/counter.tlv b/counter.tlv
index ccdcb0f..f8a34f8 100644
--- a/counter.tlv
+++ b/counter.tlv
@@ -17,8 +17,8 @@
 # If these constraints are violated, Teliva may unceremoniously crash. Please
 # report bugs at http://akkartik.name/contact
 - __teliva_timestamp: original
-  window:
-    >window = curses.stdscr()
+  Window:
+    >Window = curses.stdscr()
 - __teliva_timestamp: original
   n:
     >n = 0
@@ -55,8 +55,8 @@
     >  end
     >
     >  while true do
-    >    render(window)
-    >    update(window)
+    >    render(Window)
+    >    update(Window)
     >  end
     >end
 - __teliva_timestamp: