display.cc
/*
** insert_listing_line - inserts a blank line at line y, scrolling everything
**                       from y on down one line.  We only call this routine
**                       when we KNOW that y != rows\(\)-3 - the last listing
**                       line. Leaves the cursor in column 0 of the opened up
**                       line. Must have CS capability.
*/
inserts a blank line at line y, scrolling everything
from y on down one line.  We only call this routine
when we KNOW that y != rows\(\)-3 - the last listing
line. Leaves the cursor in column 0 of the opened up
line. Must have CS capability.
inserts a blank line at line y scrolling everything from y on down one line . We only call this routine when we KNOW that y ! = rows \ ( \ ) - 3 - the last listing line . Leaves the cursor in column 0 of the opened up line . Must have CS capability .
void insert_listing_line(int y)
{
    output_string_capability(tgoto(CS, rows()-3, y));
    move_cursor(y, 0);
    output_string_capability(SR, rows()-3-y);
    output_string_capability(tgoto(CS, rows()-1, 0));
    move_cursor(y, 0);
}
void insert_listing_line ( int y ) { output_string_capability ( tgoto ( CS , rows ( ) - 3 , y ) ) ; move_cursor ( y , 0 ) ; output_string_capability ( SR , rows ( ) - 3 - y ) ; output_string_capability ( tgoto ( CS , rows ( ) - 1 , 0 ) ) ; move_cursor ( y , 0 ) ; }
insert_listing_line - inserts a blank line at line y, scrolling everything
from y on down one line.
insert_listing_line - inserts a blank line at line y scrolling everything from y on down one line .