diff options
Diffstat (limited to 'contrib/luacurses/src/test/pair.lua')
-rw-r--r-- | contrib/luacurses/src/test/pair.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/luacurses/src/test/pair.lua b/contrib/luacurses/src/test/pair.lua deleted file mode 100644 index f26980061..000000000 --- a/contrib/luacurses/src/test/pair.lua +++ /dev/null @@ -1,18 +0,0 @@ - -require("curses"); - -curses.initscr(); - -curses.start_color(); -curses.init_pair(1, curses.COLOR_BLUE, curses.COLOR_YELLOW); -curses.init_pair(2, curses.COLOR_CYAN, curses.COLOR_RED); - -for i = 1, 2 do - local r, f, b = curses.pair_content(i); - curses.attrset(curses.COLOR_PAIR(i)); - curses.addstr(f .. ", " .. b .. "\n"); -end - -curses.getch(); -curses.endwin(); - |