on master help sign in
Run 'cargo fmt'
commitec908d59374376318b27d64ba4b308f64a988976 authorsharkdp <davidpeter@web.de> dateSat 31 Aug 2019, 12:46 (7 years ago) parent3a75d85
1 file changed+3−4
src/printer.rs+3−4
src/printer.rs+3−4
@@ -303,12 +303,11 @@ impl<'a> Printer for InteractivePrinter<'a> {
303303 let title = "8<";
304304 let title_count = title.chars().count();
305305
306− let snip_left =
307− "─ ".repeat((self.config.term_width - panel_count - (title_count / 2)) / 4);
306+ let snip_left = "─ ".repeat((self.config.term_width - panel_count - (title_count / 2)) / 4);
308307 let snip_left_count = snip_left.chars().count(); // Can't use .len() with Unicode.
309308
310− let snip_right = " ─"
311− .repeat((self.config.term_width - panel_count - snip_left_count - title_count) / 2);
309+ let snip_right =
310+ " ─".repeat((self.config.term_width - panel_count - snip_left_count - title_count) / 2);
312311
313312 write!(
314313 handle,