Return to display.c CVS log | Up to [local] / src / usr.bin / talk |
version 1.5, 1998/04/28 22:13:22 | version 1.6, 1999/03/23 17:00:38 | ||
---|---|---|---|
|
|
||
char cch; | char cch; | ||
for (i = 0; i < size; i++) { | for (i = 0; i < size; i++) { | ||
if (*text == '\n' || *text == '\r') { | /* | ||
* Since we do not use curses's input routines we must | |||
* convert '\r' -> '\n' ourselves. | |||
*/ | |||
if (*text == '\r') | |||
*text = '\n'; | |||
if (*text == '\n') { | |||
xscroll(win, 0); | xscroll(win, 0); | ||
text++; | text++; | ||
continue; | continue; |