From bc3b4380f8efce8e4b280f44abed98c2a18a142f Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 2 Dec 2024 19:17:21 -0500 Subject: [PATCH] chore: cleanup todo --- src/ui/render/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/render/mod.rs b/src/ui/render/mod.rs index 140d645..74f00c1 100644 --- a/src/ui/render/mod.rs +++ b/src/ui/render/mod.rs @@ -35,8 +35,10 @@ impl<'ws> Workspace<'ws> { 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); ws.text_area.render(text_rect, buf); - let hint = Paragraph::new(vec![Line::from(""),Line::from("ALT-h to toggle help dialog").centered()]); - // TODO(zaphar): Show a small getting-started text? + let hint = Paragraph::new(vec![ + Line::from(""), + Line::from("ALT-h to toggle help dialog").centered() + ]); hint.render(info_rect, buf); }), Box::new(move |rect: Rect, buf: &mut Buffer, ws: &mut Self| {