Apply Leonard's patch for fixing the colors:

Fixed crashing problems: min and max had their logic inverted and Bytestream::read_string moved the cursor too early

Use stdint.h types for the bytestream

Added pdcurses source files, if no curses library is provided, these source files will be fallen back to instead of raising an error. Should make compiling on windows slightly less painful.

NULL -> nullptr

Fix rendering of the date string...

Fix bad comparision in Bytestream::resize

Fix min/max name clashing

Suppress more MSVC warnings

'\e' is non-standard use '\x1b' instead

Removed empty cursesstuff.h

Add support for standard pdcurses, thanks to Leonard for pointing out the solutions to a few mysteries.

Now works with MSVC 2010/pdcurses-win32a

some work on MSVC support (still doesn't work yet...)

Use raw mode instead of cbreak mode, otherwise ctrl+q doesn't appear to work right

(0) -15 +15 +100 tip

mercurial