xieite ::term ::bg ()
Defined in header <xieite/io/term.hpp>
Changes the background color of text.
Declaration
#0void bg (std ::uint8_t r ,std ::uint8_t g ,std ::uint8_t b )noexcept ;
#1
void bg (const xieite ::color3 & color )noexcept ;
Example
Possible output:int main () {xieite ::term term ;term .bg (0 ,0 ,255 );std ::puts ("Hello, world!" ); }
Hello, world!
[View in Compiler Explorer]