(&self, frame: &mut Frame, area: Rect)
| 65 | } |
| 66 | |
| 67 | pub fn render(&self, frame: &mut Frame, area: Rect) { |
| 68 | let prompt = Prompt::new(self.context.clone()) |
| 69 | .with_placeholder("Ask anything... \"Fix a TODO in the codebase\""); |
| 70 | self.render_with_prompt(frame, area, &prompt); |
| 71 | } |
| 72 | |
| 73 | pub fn render_with_prompt(&self, frame: &mut Frame, area: Rect, prompt: &Prompt) { |
| 74 | let area = Rect { |
no test coverage detected