Compare commits

..

No commits in common. "f9c164b21f3c087ffaa6cc73c22c393b733a8634" and "f4d7d6bc72aa0ccdd98738e37c754f4a69676182" have entirely different histories.

View file

@ -99,10 +99,13 @@ fn main() {
let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit); let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
// FIXME: find a better way to get the file name // FIXME: find a better way to get the file name
// Currently, skipped sources make an extra newline here. // Currently, skipped sources make an extra newline here.
if config.chars { match config.chars {
println!("{:─^80}", format!(" {} ", cli.data_source[i])); false => {
} else { println!("{:─^59}", format!(" {} ", cli.data_source[i]));
println!("{:─^59}", format!(" {} ", cli.data_source[i])); }
true => {
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
}
} }
match config.dump(&mut **source) { match config.dump(&mut **source) {
Ok(()) => (), Ok(()) => (),