Files
BepInEx/BepInEx.Core/Console/IConsoleDriver.cs
T
2020-11-05 23:18:52 +11:00

26 lines
529 B
C#

using System;
using System.IO;
using System.Text;
namespace BepInEx
{
internal interface IConsoleDriver
{
TextWriter StandardOut { get; }
TextWriter ConsoleOut { get; }
bool ConsoleActive { get; }
bool ConsoleIsExternal { get; }
void Initialize(bool alreadyActive);
// Apparently Windows code-pages work in Mono.
// https://stackoverflow.com/a/33456543
void CreateConsole(uint codepage);
void DetachConsole();
void SetConsoleColor(ConsoleColor color);
void SetConsoleTitle(string title);
}
}