mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-23 14:08:58 +01:00
Ran cargo fmt
.
This commit is contained in:
parent
c1e1f753cf
commit
1e74f0e2a9
@ -245,12 +245,11 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
||||
|
||||
for &(style, region) in regions.iter() {
|
||||
let text = &*self.preprocess(region, &mut cursor_total);
|
||||
write!(handle, "{}", as_terminal_escaped(
|
||||
style,
|
||||
&*text,
|
||||
true_color,
|
||||
colored_output,
|
||||
))?;
|
||||
write!(
|
||||
handle,
|
||||
"{}",
|
||||
as_terminal_escaped(style, &*text, true_color, colored_output,)
|
||||
)?;
|
||||
}
|
||||
} else {
|
||||
for &(style, region) in regions.iter() {
|
||||
|
Loading…
Reference in New Issue
Block a user