xieite::term::reset_style_code()

Defined in header <xieite/io/term.hpp>

Returns a std::string which enables or disables italic text when printed.


Declaration

[[nodiscard]] static constexpr std::string reset_style_code() noexcept;


Example

int main() {
	std::println("{}Hello, {}world!", xieite::term::bg_code(0, 0, 255), xieite::term::reset_style_code());
}
Possible output:
Hello, world!
[View in Compiler Explorer]