ensure .. and . parse as atoms

This commit is contained in:
Jana Dönszelmann 2026-04-03 15:56:52 +02:00
parent fdfc08e88b
commit bed1d5b38b
No known key found for this signature in database
2 changed files with 161 additions and 30 deletions

View file

@ -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 => {