some fixes for hedu #64

Merged
PlexSheep merged 15 commits from devel into master 2024-01-18 13:45:27 +01:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 782e211448 - Show all commits

View File

@ -112,7 +112,10 @@ impl Hedu {
} }
self.display_buf += &format!( self.display_buf += &format!(
"******** {LINE_SEP_VERT} {:<49}", "******** {LINE_SEP_VERT} {:<49}",
format!("(repeats {} lines)", self.data_idx - start_line / (BYTES_PER_LINE) + 1) format!(
"(repeats {} lines)",
self.data_idx - start_line / (BYTES_PER_LINE) + 1
)
); );
if self.chars { if self.chars {
self.display_buf += &format!("{LINE_SEP_VERT}"); self.display_buf += &format!("{LINE_SEP_VERT}");