public void Write(object output) { string text = output == null ? "" : output.ToString(); CursorLeft += text.Length; if (WriteHappened != null) { WriteHappened(text); } }