Example #1
0
        public ScriptOutput()
        {
            builder = new StringBuilder();
            writer  = new StringWriter(builder);
            var x = TextWriter.Synchronized(writer);

            ansiWriter = new AnsiWriter(x);
            lockHandle = new Lazy <object>();

            writer.NewLine = "\n";
        }