mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 14:25:56 +00:00
Estimated hours taken: 8 (including getting to know curses a bit) Add a new directory to the extras, containing a (partial) binding to curses. README: Add the brief description for the curses binding to the list of what is contained in the extras package. curses/Mmakefile: curses/basics.m: curses/mcurses.m: curses/misc.m: curses/user.m: New files implementing the mercury binding to curses. curses/sample/Mmakefile: curses/sample/smalltest.m: A sample program using the mercury binding to curses.
23 lines
924 B
Mathematica
23 lines
924 B
Mathematica
%----------------------------------------------------------------------------%
|
|
% Copyright (C) 1994-2000 The University of Melbourne.
|
|
% This file may only be copied under the terms of the GNU General
|
|
% Public License - see the file COPYING in the Mercury Distribution.
|
|
%----------------------------------------------------------------------------%
|
|
|
|
%----------------------------------------------------------------------------%
|
|
%
|
|
% top level of the curses binding
|
|
%
|
|
% Please note that this is still a partial binding; it does not provide
|
|
% complete curses functionality.
|
|
% Major things this binding implements:
|
|
% * Creation, destruction, clearing, raising, and lowering of arbitary
|
|
% windows.
|
|
% * Scrolling.
|
|
% * Colour on a character by character basis.
|
|
%
|
|
%----------------------------------------------------------------------------%
|
|
:- module mcurses.
|
|
:- interface.
|
|
:- include_module basics, user, misc.
|