ensure .. and . parse as atoms
This commit is contained in:
parent
fdfc08e88b
commit
bed1d5b38b
2 changed files with 161 additions and 30 deletions
|
|
@ -699,30 +699,6 @@ impl Widget for &mut App {
|
|||
FieldTree::new(lv, footer_focused)
|
||||
.styled_mut(&styles)
|
||||
.render(footer_area, buf);
|
||||
|
||||
// let items = lv.footer_fields();
|
||||
// lv.last_fields_offset = footer_area.y as usize;
|
||||
// lv.last_fields_height = items.len();
|
||||
//
|
||||
// let width = 20;
|
||||
// let builder = ListBuilder::new(|cx| {
|
||||
// let Some((k, v)) = &items.get(cx.index) else {
|
||||
// return (Paragraph::new(""), 1);
|
||||
// };
|
||||
//
|
||||
// let mut res =
|
||||
// Paragraph::new(format!("{k:width$} {v}")).wrap(Wrap { trim: false });
|
||||
//
|
||||
// if cx.is_selected {
|
||||
// res = res.style(styles.highlighted);
|
||||
// }
|
||||
//
|
||||
// let height = res.line_count(footer_area.width) as u16;
|
||||
// (res, height)
|
||||
// });
|
||||
//
|
||||
// let list = ListView::new(builder, items.len()).style(styles.default);
|
||||
// StatefulWidget::render(list, footer_area, buf, &mut lv.footer_list);
|
||||
}
|
||||
Tab::Empty => {}
|
||||
Tab::Help => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue