LukasKalbertodt / bunt

Simple macros to write colored and formatted text to a terminal. Based on `termcolor`, thus also cross-platform.
Apache License 2.0
224 stars 7 forks source link

Support omitting format string #23

Closed andrewhickman closed 3 years ago

andrewhickman commented 3 years ago

For example println!() or writeln!(stream) would just write a line break.

This mirrors the functionality of the std macros, making these more of a drop in replacement. Note the write_with_newline clippy lint prefers this short form, which can be annoying since it also triggers when using writeln from this crate.

LukasKalbertodt commented 3 years ago

That's a good point. Not quite sure how I did not do that in the first place.

This is fixed in the linked PR and released in 0.2.6.