File: Curses.head

package info (click to toggle)
kaya 0.4.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,448 kB
  • ctags: 1,694
  • sloc: cpp: 9,536; haskell: 7,461; sh: 3,013; yacc: 910; makefile: 816; perl: 90
file content (19 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** -*-C-*-ish
    Curses module
    Copyright (C) 2004-2007 Edwin Brady, Chris Morris

    This file is distributed under the terms of the GNU Lesser General
    Public Licence. See COPYING for licence.
*/
"<summary>Curses terminal control library interface</summary>
<prose>This module provides an interface to the ncurses (on Linux) or pdcurses (on Windows) terminal control library. An alternate interfaces is provided by <moduleref>CursesW</moduleref> (which should be used if multi-byte characters - i.e. characters Char(128) and above - are needed)</prose>
<prose>The <functionref>initscr</functionref> must be called before most of the functions in this module will work, and <functionref>endwin</functionref> must be called before program exit.</prose>
<prose>The <moduleref>Kayurses</moduleref> module provides a higher-level interface to the curses functions.</prose>"
module Curses;

import Prelude;

%include "curses_glue.h";
%imported "curses_glue";
%link "curses";