private Task WriteToStreamAsync(string text) { return(this.terminal.EnqueueStringAsync(TerminalStrings.FromColor(text, this.Foreground, this.Background))); }
private void WriteToStream(string text) { this.terminal.EnqueueString(TerminalStrings.FromColor(text, this.Foreground, this.Background)); }