Exemplo n.º 1
0
        public AnsiWriter(Document ansiDocument, Console console)
        {
            _ansiDoc = ansiDocument;
            _console = console;
            _cursor = new Console.Cursor(console);
            CharactersPerSecond = 800;

            _bytes = ansiDocument.AnsiBytes;
            _ansiState = new State();

            _ansiCodeBuilder = new StringBuilder(5);
            _ansiStringBuilder = new StringBuilder(40);

            BlinkEffect = new Blink() { BlinkSpeed = 0.35f };
        }
Exemplo n.º 2
0
        public AnsiWriter(Document ansiDocument, Console console)
        {
            _ansiDoc            = ansiDocument;
            _console            = console;
            _cursor             = new Console.Cursor(console);
            CharactersPerSecond = 800;

            _bytes     = ansiDocument.AnsiBytes;
            _ansiState = new State();

            _ansiCodeBuilder   = new StringBuilder(5);
            _ansiStringBuilder = new StringBuilder(40);

            BlinkEffect = new Blink()
            {
                BlinkSpeed = 0.35f
            };
        }