Created
December 30, 2015 13:46
-
-
Save zaucker/aa14025a16edcd671e25 to your computer and use it in GitHub Desktop.
NCurses example (working)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
use lib 'lib'; | |
use NCurses; | |
my $win = initscr; | |
die "Failed to initialize ncurses\n" unless $win.defined; | |
for (1 .. 20) { | |
mvaddstr( 3, 5, "Test $_"); | |
nc_refresh; | |
sleep 1; | |
} | |
# End curses mode | |
endwin; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment