LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to Change the Cursor Color in Ncurses (https://www.linuxquestions.org/questions/programming-9/how-to-change-the-cursor-color-in-ncurses-309017/)

mac57 04-02-2005 03:01 PM

How to Change the Cursor Color in Ncurses
 
Is there a way in ncurses to directly change the cursor color? I have written an ncurses program that uses multiple colors on screen, and I can't seem to figure out and control what color the cursor itself will be at any time. I can completely control the colors of everything I display on the screen but the cursor color itself seems to shift between black and the current foreground color. I can't figure out what causes it to shift between these two, and I can't find any ncurses interface that will allow you to directly set the cursor color. Does anyone know how to do this? Thanks!


All times are GMT -5. The time now is 09:12 AM.