Skip to content

Commit c47befd

Browse files
committed
修复linux下不可用的bug
1 parent 0d06295 commit c47befd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodeFormatServer/src/Session/StandardIOSession.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ bool StandardIO::HasError()
5656
void StandardIO::Write(std::string_view content)
5757
{
5858
asio::write(*_out, asio::buffer(content.data(), content.size()));
59+
std::cout.flush();
5960
}
6061

6162
#else

0 commit comments

Comments
 (0)