Function lockStdErr [src]
Allows the caller to freely write to stderr until unlockStdErr is called.
During the lock, any std.Progress information is cleared from the terminal.
The lock is recursive; the same thread may hold the lock multiple times.
Prototype
pub fn lockStdErr() void
Source
pub fn lockStdErr() void {
stderr_mutex.lock();
clearWrittenWithEscapeCodes() catch {};
}