00001 /*@A (C) 1992 Allen I. Holub */ 00002 #include "cur.h" 00003 00004 void wclrtoeol(WINDOW * win ) 00005 { 00006 /* Clear from cursor to end of line, the cursor isn't moved. The main 00007 * reason that this is included here is because you have to call it after 00008 * printing every newline in order to compensate for a bug in the real 00009 * curses. This bug has been corrected in my curses, so you don't have to 00010 * use this routine if you're not interested in portability. 00011 */ 00012 00013 clr_region( win->x_org + win->col , win->x_org + (win->x_size - 1), 00014 win->y_org + win->row , win->y_org + win->row, 00015 win->attrib ); 00016 }