public ClockworkWindow(Formatter formatter) : base(formatter) { formatter.EndOutput = message => { if (string.Equals(message, ">", StringComparison.OrdinalIgnoreCase)) { // Printing to screen has finished. Send response message. SendResponseMessage(); } // Buffer print message until finished. _messageBuffer.Add(message); }; }
private NullWindow(Formatter formatter) : base(formatter) { }