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 2 additions and 0 deletions
Showing only changes of commit 62fa938b1c - Show all commits

View File

@ -129,6 +129,8 @@ fn main() {
} }
for (i, source) in sources.iter_mut().enumerate() { for (i, source) in sources.iter_mut().enumerate() {
let mut config = HeduConfig::new(cli.chars, cli.skip, cli.show_identical, cli.limit); let mut config = HeduConfig::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
// FIXME: find a better way to get the file name
// Currently, skipped sources make an extra newline here.
match config.chars { match config.chars {
false => { false => {
println!("{:─^59}", format!(" {} ", cli.data_source[i])); println!("{:─^59}", format!(" {} ", cli.data_source[i]));