Skip to content

Commit

Permalink
Fix missing newline if CONFIG_LOG_COLORS=n is set
Browse files Browse the repository at this point in the history
  • Loading branch information
mike1703 committed Nov 22, 2024
1 parent 9e70526 commit 271584a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ impl ::log::Log for EspLogger {
}
write!(stdout, ") {}: {}", target, args).unwrap();
if color.is_some() {
writeln!(stdout, "\x1b[0m").unwrap();
write!(stdout, "\x1b[0m").unwrap();
}
writeln!(stdout).unwrap();
}
}

Expand Down

0 comments on commit 271584a

Please sign in to comment.