Logo Search packages:      
Sourcecode: iterm version File versions  Download package

int VTScreenBuffer_clear_cells ( VTScreenBuffer buf,
int  row,
int  start_col,
int  end_col 
)

clear cells in specified row in the buffer.

Parameters:
*buf reference to Buffer object to destruct
row row to clear cells in
start_col start column to clear
end_col end column to clear exclusive
Returns:
0 if succeeded else 1

Definition at line 356 of file screen_buffer.c.

References _VTScreenBuf::rows.

{
  if(buf->rows[row])
  {
    return Row_clear_cells(buf->rows[row],start_col,end_col);
  }
  return 1;
}


Generated by  Doxygen 1.6.0   Back to index