fn draw( terminal: &mut Terminal<CrosstermBackend<Stdout>>, messages: &[ChatMessage], input: &str, scroll: u16, busy: bool, ) -> Result<()>