aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-09-08 20:43:35 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-09-08 20:43:35 -0500
commitbbc9f75aaf8aab2a43d9b4e09647b6e3c0abeef6 (patch)
tree3c3a1b0665d7133b1ae881629656f8fdc198e974
parenta0daf06a4e6471056e043c011ca9d618b40a43e5 (diff)
downloadluancurses-bbc9f75aaf8aab2a43d9b4e09647b6e3c0abeef6.tar.gz
luancurses-bbc9f75aaf8aab2a43d9b4e09647b6e3c0abeef6.zip
oops, forgot that one
-rw-r--r--test/rl.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/rl.lua b/test/rl.lua
index 0ca7b78..712f571 100644
--- a/test/rl.lua
+++ b/test/rl.lua
@@ -20,16 +20,6 @@ local function botl(str)
curses.addstr({y = rows - 1, x = 0}, str)
curses.clrtoeol()
end
-
-local function move_char(char, direction)
- if direction.x == 0 and direction.y == 0 then return 1 end
- local x, y = char.x, char.y
- char.x = char.x + direction.x
- char.y = char.y + direction.y
- if x ~= char.x or y ~= char.y then return 1
- else return 0
- end
-end
-- }}}
-- curses initialization {{{