Support section infos in list mode

This commit is contained in:
jaby 2023-08-20 14:27:15 +02:00
parent 882e91c920
commit ae1221de81
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ impl ConsoleUI {
.highlight_style(Style::default().bg(Color::White));
let top_section = &data.section_info[section_selection.get_selection_for(ListSectionMode::TopSection) + 1];
let info_text = Paragraph::new(format!("Name: {}", top_section.name))
let info_text = Paragraph::new(format!("Name: {}\nAdr: 0x{:X} - 0x{:X}\nSize: {} Bytes", top_section.name, top_section.start_adr, top_section.get_end_adr(), top_section.size))
.style(Style::default().fg(Color::White))
.alignment(Alignment::Left)
.block(Block::default()