public LogConsole(LogConsoleOptions options = null, LogOptions baseOptions = null) : base(baseOptions) { options = options ?? new LogConsoleOptions(); if (options.DebugRect != Rectangle.Empty) { ConsoleUtils.AdjustConsole(options.DebugRect); } }
public LogConsole(LogConsoleOptions options = null, LogOptions baseOptions = null) : base(baseOptions) { Console.OutputEncoding = Encoding.UTF8; options = options ?? new LogConsoleOptions(); extendedMode = ConsoleUtils.EnableVirtualTerminalProcessing(); if (options.DebugRect != Rectangle.Empty) { ConsoleUtils.AdjustConsole(options.DebugRect); } }