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