Merge branch 'devel'
cargo devel CI / cargo CI (push) Successful in 1m3s Details
Release-plz / Release-plz release (push) Failing after 1m22s Details
Release-plz / Release-plz PR (push) Failing after 1m29s Details

This commit is contained in:
Christoph J. Scherr 2024-10-16 19:54:49 +02:00
commit f9c164b21f
1 changed files with 4 additions and 7 deletions

View File

@ -99,13 +99,10 @@ fn main() {
let mut config = Hedu::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 {
false => {
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
}
true => {
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
}
if config.chars {
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
} else {
println!("{:─^59}", format!(" {} ", cli.data_source[i]));
}
match config.dump(&mut **source) {
Ok(()) => (),