Posts mit dem Label curses werden angezeigt. Alle Posts anzeigen
Posts mit dem Label curses werden angezeigt. Alle Posts anzeigen
Montag, 7. Januar 2013
Dienstag, 1. Januar 2013
pdcurses Win32a
About
PDCurses/Win32a is a version of pdcurses that supports "real" text terminals in Windows operating systems. This means that a program written for curses, when compiled under this version, may be able to support features unsupportable by the normal terminals in Windows, including extended color support and greater international character support.Sonntag, 30. Dezember 2012
pdcurses - timeout example
Introduction
In PDCurses there is a halfdelay(TENTHS) mode which implements a small delay (TENTHS tenths of a second) after each input. If there is no input after this time, the corresponding input function returns ERR. Somewhat confusingly, the symbol ERR doesn't actually mean an "error" occured in this case. Only that no input has been received yet. In this mode, it is possible to call the input function as part of a loop -- we can be sure that the function will exit after at most TENTHS tenths of a second. Then we can do some intermediate processing and then repeat the input function in a loop.Freitag, 28. Dezember 2012
pdcurses
About
PDCurses is a public domain implementation of Curses which works on Linux, Windows and other systems.
Abonnieren
Posts (Atom)