im having a problem with the curses library - the dreaded \r\n!
in a normal console, if i do:
printf("Some text\r\n");
it will print the text and then a new line, however, with the curses library, it moves the cursor to the beginning of the line, clears the text, then moves the cursor down.
So if i try:
printf("Some text\r\n");
with the curses library, all that i see is a new line (the cursor moves down).
Is there some sort of flag i can set to stop this? Or is it best to try to reverse the \r\n when using the curses library (reverse by searching the string for \r\n sequence)?
Any help / hints / advice is much appreciated cause this is driving me mad