display.cc
/*
** clear_to_end_of_screen - clears screen from line y to the bottom
*/
clears screen from line y to the bottom
clears screen from line y to the bottom
void clear_to_end_of_screen(int y)
{
    move_cursor(y, 0);
    if (CD)
        output_string_capability(DL, rows()-y);
    else
        for (int i = 0; i < rows()-y; i++)
        {
	    move_cursor(y + i, 0);
            clear_to_end_of_line();
        }
}
void clear_to_end_of_screen ( int y ) { move_cursor ( y , 0 ) ; if ( CD ) output_string_capability ( DL , rows ( ) - y ) ; else for ( int i = 0 ; i < rows ( ) - y ; i ++ ) { move_cursor ( y + i , 0 ) ; clear_to_end_of_line ( ) ; } }
clear_to_end_of_screen - clears screen from line y to the bottom
clear_to_end_of_screen - clears screen from line y to the bottom