    m_background_color = _color_from_attribute(m_default_background >> WINCC_BG_SHIFT);

    m_current_text_attribute = _compute_text_attribute(m_foreground_color, m_background_color);
    SetConsoleTextAttribute(m_console_handle, (WORD)m_current_text_attribute);
}

void wincc::Console::write(const char *msg)
{
    printf(msg);
}

void wincc::Console::write(ConsoleColor foreground, const char *msg)
{
    _single_set_write(foreground, m_background_color, msg, false);