display.cc
/*
** delete_listing_line - deletes line at line y, scrolling the lines below
**                       y up.  We only call this routine when we KNOW that
**                       there is at least one line in need of being scrolled
**                       up. Must have CS capability.
*/
deletes line at line y, scrolling the lines below
y up.  We only call this routine when we KNOW that
there is at least one line in need of being scrolled
up. Must have CS capability.
deletes line at line y scrolling the lines below y up . We only call this routine when we KNOW that there is at least one line in need of being scrolled up . Must have CS capability .
void delete_listing_line(int y)
{
    move_cursor(y, 0);
    clear_to_end_of_line();
    output_string_capability(tgoto(CS, rows()-3, y));
    move_cursor(rows()-3, 0);
    cursor_down();
    output_string_capability(tgoto(CS, rows()-1, 0));
}
void delete_listing_line ( int y ) { move_cursor ( y , 0 ) ; clear_to_end_of_line ( ) ; output_string_capability ( tgoto ( CS , rows ( ) - 3 , y ) ) ; move_cursor ( rows ( ) - 3 , 0 ) ; cursor_down ( ) ; output_string_capability ( tgoto ( CS , rows ( ) - 1 , 0 ) ) ; }
delete_listing_line - deletes line at line y, scrolling the lines below
y up.
delete_listing_line - deletes line at line y scrolling the lines below y up .