about summary refs log tree commit diff stats
path: root/toot-toot.tlv
diff options
context:
space:
mode:
Diffstat (limited to 'toot-toot.tlv')
-rw-r--r--toot-toot.tlv10
1 files changed, 5 insertions, 5 deletions
diff --git a/toot-toot.tlv b/toot-toot.tlv
index 6c99a21..8d03654 100644
--- a/toot-toot.tlv
+++ b/toot-toot.tlv
@@ -80,7 +80,7 @@
   check_eq:
     >function check_eq(x, expected, msg)
     >  if x == expected then
-    >    window:addch('.')
+    >    Window:addch('.')
     >  else
     >    print('F - '..msg)
     >    print('  expected '..tostring(expected)..' but got '..x)
@@ -147,8 +147,8 @@
     >  return result
     >end
 - __teliva_timestamp: original
-  window:
-    >window = curses.stdscr()
+  Window:
+    >Window = curses.stdscr()
     >curses.curs_set(0)  -- we'll simulate our own cursor
 - __teliva_timestamp: original
   menu:
@@ -162,8 +162,8 @@
     >  init_colors()
     >
     >  while true do
-    >    render(window)
-    >    update(window)
+    >    render(Window)
+    >    update(Window)
     >  end
     >end
 - __teliva_timestamp: original