aipack 0.8.25

Command Agent runner to accelerate production coding with genai.
1
2
3
4
5
6
7
8
9
10
11
use crate::Result;
use crossterm::{cursor, execute, terminal};
use std::io::Stdout;

pub fn init_term() -> Result<Stdout> {
	let mut stdout = std::io::stdout();
	terminal::enable_raw_mode()?;
	execute!(stdout, cursor::Hide)?;

	Ok(stdout)
}