Ensures multiple ANSI writes are not interleaved with other terminal output.
public static TerminalInstance WriteAtomic(Action<AnsiWriter> write)
The write callback that receives an AnsiWriter.