mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-05 04:55:10 +00:00
Meet TStyle. It allows you to write things like this:
dbg() << TStyle(TStyle::Red, TStyle::Bold) << "Hello, friends!";
Any style used will be reset along with the newline emitted when the dbg()
temporary goes out of scope. :^)
This can definitely be improved, but I think it's a decent place to start.
1.2 KiB
1.2 KiB