pub fn read_rect_from_buffer(rect: &Rect, buffer: &Buffer) -> String
Returns a string made of the chars from the buffer which are in the given rect.