**Describe the issue**
Maybe it's a bug in my implementation of #33271

**How to reproduce**
Run some long query and look carefully with full attention.
message << "\033[30;42m" << profiling_msg << "\033[0m";
                    message << "\033[0;32m" << bar << "\033[0m";
                    /// Whitespaces 
                    if (width_of_progress_bar > static_cast<int64_t>(bar.size() / UNICODE_BAR_CHAR_SIZE))
                        message << std::string(width_of_progress_bar - bar.size() / UNICODE_BAR_CHAR_SIZE, ' ');
                    /// Render profi
                    if (!profiling_msg.empty() && !render_profiling_msg_at_left)
                        message << "\033[2m" << profiling_msg << "\033[0m";
                }
            }
        }
        /// Underestimate percentage a bit to avoid displaying 100%.
        message << ' ' << (99 * current_count / max_count) << '%';
    }
    else
    {
        /// We can still display profiling info.
        if (remaining_space >= static_cast<int64_t>(profiling_msg.size()))
        {
            if (remaining_space > static_cast<int64_t>(profiling_msg.size()))
                message << std::string(remaining_space - profiling_msg.size(), ' ');
            message << "\033[2m" << profiling_msg << "\033[0m";
        }
    }
    message << CLEAR_TO_END_OF_LINE;
    ++increment;
    message.next();
}
}