Skip to content

Commit

Permalink
Less cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
azawawi committed Nov 11, 2012
1 parent e5f9c1c commit 9e962a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test_curses.p6
Expand Up @@ -5,12 +5,12 @@ use NativeCall;

constant LIB = 'libncurses.so.5';

sub initscr() is native(LIB) { ... };
sub clear() is native(LIB) { ... };
sub endwin() is native(LIB) { ... };
sub printw(Str) is native(LIB) { ... };
sub initscr is native(LIB) { ... };
sub clear is native(LIB) { ... };
sub endwin is native(LIB) { ... };
sub printw(Str) is native(LIB) { ... };
#sub NCURSEsrefresh() is native(LIB) { ... };
sub getch() is native(LIB) { ... };
sub getch is native(LIB) { ... };

initscr; # Start curses mode
printw("Hello World !!!\n"); # Print Hello World
Expand Down

0 comments on commit 9e962a7

Please sign in to comment.