on master help sign in
Reformatted with `cargo fmt`.
commitcc8186103b629d3ea1eb4d6247c52b80ca60eea4 authorEthan P <eth-p+git@hidden.email> dateWed 8 May 2019, 19:36 (8 years ago) parent0ad09df
1 file changed+2−1
src/printer.rs+2−1
src/printer.rs+2−1
@@ -367,7 +367,8 @@ impl<'a> Printer for InteractivePrinter<'a> {
367367 match chunk {
368368 // ANSI escape passthrough.
369369 (text, true) => {
370− let is_ansi_csi = text.chars().skip(1).nth(0).map_or(false, |c|c == '[');
370+ let is_ansi_csi =
371+ text.chars().skip(1).nth(0).map_or(false, |c| c == '[');
371372
372373 if is_ansi_csi && text.chars().last().map_or(false, |c| c == 'm') {
373374 // It's an ANSI SGR sequence.