Curses Sharp is a ncurses terminal control library binding for C#.
CursesSharp is a C# wrapper for curses library. The latest version of this 'fork'' can be found at Github. The original version can be found at the SourceForge.net project page.
CursesSharp consists of a .NET assembly (CursesSharp.dll) and a native wrapper shared library (DLL) which is linked with PDCurses (in Windows) or ncurses (in Unix-like systems). This wrapper library is called CursesWrapper.dll in Windows or libCursesWrapper.so in Unix or libCursesWrapper.dylib in OS-X. CursesSharp provides a bit cleaner API to curses than the original one, although function names remain unchanged for the most part.
Documentation is (always) under construction. Help would be much appreciated.
These are the instructions for building CursesSharp on OS-X.
The build process has been tested on:
The native library is now built as a 'fat' library so either a Mono 32-bit or 64-bit build can be used.
$> file libCursesWrapper.so
libCursesWrapper.so: Mach-O universal binary with 2 architectures libCursesWrapper.so (for architecture i386): Mach-O dynamically linked shared library i386 libCursesWrapper.so (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64