about summary refs log tree commit diff stats
path: root/hanoi.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-05 12:10:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-11-05 12:12:16 -0700
commit048abcfbc2ac3440f9b9d8febd9d5656c567aad8 (patch)
tree622c7791616b1f341703720ac445a5fa395320e3 /hanoi.lua
parentd1c9bff73716b6772f56e3e899e36997ab33ab12 (diff)
downloadteliva-048abcfbc2ac3440f9b9d8febd9d5656c567aad8.tar.gz
ok, what do we need next for hanoi.lua?
Diffstat (limited to 'hanoi.lua')
-rw-r--r--hanoi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/hanoi.lua b/hanoi.lua
index 543849b..42f6c5e 100644
--- a/hanoi.lua
+++ b/hanoi.lua
@@ -66,12 +66,12 @@ end
 local function main()
   local screen = curses.initscr()
 
-  while 1 do
+  while true do
     render(screen)
     update(screen)
   end
 
-  curses.endwin ()
+  curses.endwin()
 end