LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   A question about Ncurses wattron(body, A_REVERSE) in C... (https://www.linuxquestions.org/questions/programming-9/a-question-about-ncurses-wattron-body-a_reverse-in-c-4175455408/)

trist007 03-24-2013 05:54 PM

A question about Ncurses wattron(body, A_REVERSE) in C...
 
This will be a vague question so I'm hoping somebody experienced with Ncurses can help.

I have a pad named body that I print arrays of data onto.

On one array, when I call
Code:

wattron(body, A_REVERSE);
Only the first element of the array gets highlighted(reversed) which is what I want.

However, on another array that I have, when I call this function, instead of just the 1 element of the array being highlighted, all of the elements are highlighted.

I am trying to figure out what causes this. I have compared both functions for each array and they both look similar.

-Tristan

TobiSGD 03-25-2013 12:08 PM

Without having any code and the data you use it is simply impossible to help you with that.


All times are GMT -5. The time now is 03:17 PM.