rat_widget::util

Function view_buffer

source
pub fn view_buffer(buffer: &Buffer, to_buffer: &mut Buffer)
Expand description

Copy a tmp buffer to another buffer.

Both buffers must be the same size. Only cells that are not empty are copied.