chore: cleanup todo

This commit is contained in:
Jeremy Wall 2024-12-02 19:17:21 -05:00
parent b688940763
commit bc3b4380f8

View File

@ -35,8 +35,10 @@ impl<'ws> Workspace<'ws> {
Box::new(|rect: Rect, buf: &mut Buffer, ws: &mut Self| { Box::new(|rect: Rect, buf: &mut Buffer, ws: &mut Self| {
let [text_rect, info_rect] = Layout::horizontal(vec![Constraint::Fill(1),Constraint::Fill(1)]).areas(rect); let [text_rect, info_rect] = Layout::horizontal(vec![Constraint::Fill(1),Constraint::Fill(1)]).areas(rect);
ws.text_area.render(text_rect, buf); ws.text_area.render(text_rect, buf);
let hint = Paragraph::new(vec![Line::from(""),Line::from("ALT-h to toggle help dialog").centered()]); let hint = Paragraph::new(vec![
// TODO(zaphar): Show a small getting-started text? Line::from(""),
Line::from("ALT-h to toggle help dialog").centered()
]);
hint.render(info_rect, buf); hint.render(info_rect, buf);
}), }),
Box::new(move |rect: Rect, buf: &mut Buffer, ws: &mut Self| { Box::new(move |rect: Rect, buf: &mut Buffer, ws: &mut Self| {