mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-23 13:29:48 -04:00
chore: cleanup todo
This commit is contained in:
parent
b688940763
commit
bc3b4380f8
@ -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| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user