public Task Write(FormattedText text) { return _ownerContext.PostAsync(async () => await _host.Write(text)); }
public static async Task WriteLine(this IConsoleHost self, FormattedText line) { await self.Write(line); await self.InsertLineBreak(); }