aipack 0.8.22

Command Agent runner to accelerate production coding with genai.
1
2
3
4
5
6
7
8
9
10
11
use ratatui::text::Line;

pub fn extend_lines(all_lines: &mut Vec<Line<'static>>, lines: Vec<Line<'static>>, end_with_empty_line: bool) {
	if lines.is_empty() {
		return;
	}
	all_lines.extend(lines);
	if end_with_empty_line {
		all_lines.push(Line::default());
	}
}