Skip to content

Instantly share code, notes, and snippets.

@zaucker
Created December 30, 2015 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaucker/aa14025a16edcd671e25 to your computer and use it in GitHub Desktop.
Save zaucker/aa14025a16edcd671e25 to your computer and use it in GitHub Desktop.
NCurses example (working)
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