fuck this operating system I swear
This commit is contained in:
parent
9f3f95d611
commit
16d033ed6c
|
@ -42,7 +42,7 @@ namespace swbf {
|
|||
if(file == stderr)
|
||||
handle = GetStdHandle(STD_ERROR_HANDLE);
|
||||
|
||||
WriteConsole(handle, str.data(), str.length(), nullptr, nullptr);
|
||||
WriteFile(handle, str.data(), static_cast<DWORD>(str.length()), nullptr, nullptr);
|
||||
#else
|
||||
std::vformat_to(FputcIterator(file), format, std::make_format_args(args...));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue