Mail Archives: djgpp/2000/08/27/02:34:04
On Sun, 27 Aug 2000, I wrote:
> You could remove the \n from the format, and print it at the beginning of
> the next line instead.
Sorry, it's possible that I didn't understand the problem correctly (a
code fragment would have helped).
Are you saying that outputting a full 80-column line to the last screen
linhe position scrolls the entire display even if there's no \n in the
text you output?
If so, then this is because both printf and cprintf (and also cputs and
cputc) always move the cursor past the last written character. On the
last line, moving the cursor will scroll the display.
You need to write the characters in a way that doesn't involve moving the
cursor, like with ScreenUpdateLine or dosmemput.
- Raw text -