Help for this page

Select Code to Download


  1. or download this
    my $o = IO::File->new("/dev/tty", "w");
    my $i = IO::File->new("/dev/tty", "r");
    
    newterm(undef, $o, $i);
    endwin()
    
  2. or download this
    #include <curses.h>
    #include <stdlib.h>
    ...
      refresh();
      endwin();
    }
    
  3. or download this
    XS(XS_Curses_newterm)
    {
    ...
        XSRETURN(0);
    #endif
    }