This commit is contained in:
mtillmann0 2024-03-04 15:24:28 +01:00 committed by GitHub
commit 0fbaf570e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1665,7 +1665,7 @@ FMT_FUNC void vprint_mojibake(std::FILE* f, string_view fmt, format_args args,
#endif
FMT_FUNC void print(std::FILE* f, string_view text) {
#ifdef _WIN32
#if defined(_WIN32) && !defined(FMT_WINDOWS_NO_WCHAR)
int fd = _fileno(f);
if (_isatty(fd)) {
std::fflush(f);