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

int VTScreenBuffer_clear_rows ( VTScreenBuffer buf,
int  start_row,
int  end_row 
)

Compose bytes of specified row

Parameters:
*buf reference to Buffer object to destruct
row row number
col_start start column
col_end end column exclusive
str pointer to char array, caller must allocate memory
str_len length of str
total_len total bytes length
total_width total width of character array
Returns:
0 if succeeded else 1 insert specified length of blank cells from specified Cell
Parameters:
*buf reference to Buffer object to destruct
row row to insert blanks
col_start start Cell to insert blank cells
num number of cells to insret
Returns:
0 if succeeded else 1 delete specified length of cell from specified Cell
Parameters:
*buf reference to Buffer object to destruct
row row to insert blanks
col_start start Cell to delete cells
num number of cells to delte
Returns:
0 if succeeded else 1 clear rows in the buffer.
Parameters:
*buf reference to Buffer object to destruct
start_row starting row to clear
start_row ending row to clear exclusive
Returns:
0 if succeeded else 1

Definition at line 336 of file screen_buffer.c.

References _VTScreenBuf::rows.

{
  int r;
  for(r=start_row;r<end_row;r++)
  {
    Row_clear(buf->rows[r]);
    Row_set_wrapped(buf->rows[r],NOT_WRAPPED);
  }

  return 0;
}


Generated by  Doxygen 1.6.0   Back to index