コード例 #1
0
        public ConsoleVT()
        {
            this.defaultForeground = Console.ForegroundColor;
            this.defaultBackground = Console.BackgroundColor;

            Console.TreatControlCAsInput = true;

            this.mainDevice   = new ConsolePresentationDevice();
            this.activeDevice = this.mainDevice;

            Console.WindowHeight = 25;
            Console.BufferHeight = 25;
            Console.WindowWidth  = 80;
            Console.BufferWidth  = 80;
        }
コード例 #2
0
 public bool SwitchPresentationDevice(IPresentationDevice activeDevice)
 {
     Console.Clear();
     return(true);
 }
コード例 #3
0
ファイル: VTConsole.xaml.cs プロジェクト: 294797392/terminal
 public bool SwitchPresentationDevice(IPresentationDevice activeDevice)
 {
     logger.WarnFormat("SwitchPresentationDevice");
     return(true);
 }
コード例 #4
0
 public void DeletePresentationDevice(IPresentationDevice device)
 {
 }
コード例 #5
0
ファイル: VTConsole.xaml.cs プロジェクト: 294797392/terminal
 public void DeletePresentationDevice(IPresentationDevice device)
 {
     logger.WarnFormat("DeletePresentationDevice");
 }