Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jun 12, 2024
1 parent 4672836 commit 4663bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/builtin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ namespace jule
inline void out(const T &obj) noexcept
{
#ifdef OS_WINDOWS
const std::vector<jule::U16> utf16_str = {231, 97, 231, 97, 32, 107, 117, 351, 117};//jule::utf16_from_str(jule::to_str<T>(obj));
const std::vector<jule::U16> utf16_str = jule::utf16_from_str(jule::to_str<T>(obj));
for (auto u: utf16_str)
std::cout << u << std::endl;
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
WriteConsoleW(handle, utf16_str.data(), utf16_str.size(), nullptr, nullptr);
#else
Expand Down

0 comments on commit 4663bd3

Please sign in to comment.