/// <summary>
        /// Resets colors and text decorations.
        /// </summary>
        /// <param name="console">The console to reset.</param>
        public static void Reset(this IAnsiConsole console)
        {
            if (console is null)
            {
                throw new ArgumentNullException(nameof(console));
            }

            console.ResetColors();
            console.ResetDecoration();
        }