wincolor sink fix
This commit is contained in:
parent
1d9ec2373a
commit
87e013534c
@ -105,7 +105,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// print a range of formatted message to console
|
// print a range of formatted message to console
|
||||||
void print_range_(const fmt::memory_buffer formatted, size_t start, size_t end)
|
void print_range_(const fmt::memory_buffer &formatted, size_t start, size_t end)
|
||||||
{
|
{
|
||||||
auto size = static_cast<DWORD>(end - start);
|
auto size = static_cast<DWORD>(end - start);
|
||||||
::WriteConsoleA(out_handle_, formatted.data() + start, size, nullptr, nullptr);
|
::WriteConsoleA(out_handle_, formatted.data() + start, size, nullptr, nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user