summaryrefslogtreecommitdiffhomepage
path: root/contrib/luacurses/test/hello.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-07 13:07:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-07 13:07:56 +0000
commit65606ca09a7f69c30dc4d749a9699d6ae84806b5 (patch)
treedfed1aaaf6a92a1e3fa7c5e11558aa0f60e77c10 /contrib/luacurses/test/hello.lua
parentc3426d56b1551fd8233a5cd642db2009801b0ab5 (diff)
contrib: drop luacurses, it was never used and fails the build on modern distros
Diffstat (limited to 'contrib/luacurses/test/hello.lua')
-rw-r--r--contrib/luacurses/test/hello.lua20
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/luacurses/test/hello.lua b/contrib/luacurses/test/hello.lua
deleted file mode 100644
index 6a1d28a216..0000000000
--- a/contrib/luacurses/test/hello.lua
+++ /dev/null
@@ -1,20 +0,0 @@
-
-require("curses");
-
-function show_message(message)
- local width = string.len(message) + 6;
- win = curses.newwin(5, width, (curses.LINES() - 5) / 2, (curses.COLS() - width) / 2);
- win:box('|', '-');
- win:mvaddstr(2, 3, message);
- win:getch();
- win:delwin();
-end
-
-curses.initscr();
-curses.cbreak();
-curses.mvaddstr((curses.LINES() - 5) / 2, (curses.COLS() - 10) / 2, "Hit any key");
-curses.getch();
-show_message("Hello, World!")
-
-curses.endwin();
-