If I understand you correctly, curs_set() alters the bitmap used for the cursor, but not its colour. So whether it is 1 or 2, it will still be invisible when put on a blank painted on a white background. Is that correct?
j. On 6 December 2010 16:04, Bill J Gray <pl...@projectpluto.com> wrote: > Hi Warren, John, > >> But that is hardwired into your terminal/emulator. Curses cannot change >> the way your cursor works. > > Under XCurses, it _could_, because it's not a "for-real" terminal; > it's a GUI window. I've been working on a Windows GUI flavor of PDCurses > which allows for blinking cursors and such. > > But as presently implemented, I'm reasonably sure that you can have > three types of cursors: an underscore, a solid reversed block, or no > cursor at all. These are all set using the curs_set() function. (Pause > to rummage through docs...) > > curs_set() alters the appearance of the text cursor. A value of > 0 for visibility makes the cursor disappear; a value of 1 makes > the cursor appear "normal" (usually an underline) and 2 makes > the cursor "highly visible" (usually a block). > > Hope that's what you're looking for. The alternative would be to > fix up XCurses to allow for some more flexibility here. Which would be > a wonderful solution, and I may even tackle that problem myself, but > it's not a short-term kind of solution. > > -- Bill >