mirror of
https://github.com/sharkdp/bat.git
synced 2025-03-14 06:38:24 +00: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() {
|
for &(style, region) in regions.iter() {
|
||||||
let text = &*self.preprocess(region, &mut cursor_total);
|
let text = &*self.preprocess(region, &mut cursor_total);
|
||||||
write!(handle, "{}", as_terminal_escaped(
|
write!(
|
||||||
style,
|
handle,
|
||||||
&*text,
|
"{}",
|
||||||
true_color,
|
as_terminal_escaped(style, &*text, true_color, colored_output,)
|
||||||
colored_output,
|
)?;
|
||||||
))?;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for &(style, region) in regions.iter() {
|
for &(style, region) in regions.iter() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user