I'm using PDCurses and ctypes to provide a Python binding to pdcurses on Windows. The dll I'm using is from pdc34dllu.zip, which pops up a window instead of using the console. However, when I run my program, for some reason, it doesn't show colors (my script has a test of colors at the very end). The sourcecode can be downloaded at .
Does anyone know why this happens?
(Hmm, that site wouldn't show me the file at first, but it did when I tried it again.)
You need to call start_color() before colors will work.
Oh, thanks. I didn't realize that…I guess I should learn more C before trying something like this.
Thanks for helping me.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.