Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size
ncurses module

The ncurses module allows Qore programs to do advanced terminal I/O using the system's ncurses or curses library.

Requires qore 0.7.0 and ncurses or SYSV curses headers and libraries to build.

Module documentation: http://qore.org/manual/modules/ncurses-module-doc.html

NOTE: This module is still experimental due to the fact that I'm not sure if it's possible to safely enable threading without putting a big lock around every curses call.  Basically threading and curses do not mix.  The module does implement a big lock on almost every curses call, except calls to getch() are made under a separate lock.  This is probably not safe but seems to work somehow anyway.

The documentation is incomplete; this module will stay experimental until someone shows some interest in it.

The Qore ncurses API needs to be updated to take advantage of system constant objects (for the main window) and static class methods...

Title Filter     Display # 
# Article Title Author Hits
1 NCurses Example David Nichols 6546
2 tower of hanoi example David Nichols 1324
3 worm example David Nichols 461