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

void VTScreenBuffer_resize ( VTScreenBuffer buf,
int  n_cols 
)

Resize buffer column

Parameters:
*buf reference to Buffer object to destruct
n_cols number of columns

Definition at line 373 of file screen_buffer.c.

References _VTScreenBuf::num_cols, _VTScreenBuf::num_rows, and _VTScreenBuf::rows.

{
  int i;
  for(i=0;i<buf->num_rows;i++)
  {
    Row_resize(buf->rows[i],n_cols);
  }
  buf->num_cols = n_cols;
}


Generated by  Doxygen 1.6.0   Back to index