diff --git a/src/command_line.cc b/src/command_line.cc index d2177718..75e93c39 100644 --- a/src/command_line.cc +++ b/src/command_line.cc @@ -3156,6 +3156,7 @@ void LanguageServerMain(const std::string& bin_name, QueueManager queue(waiter); std::unordered_map request_times; + std::cin.tie(NULL); LaunchStdinLoop(config, &request_times); // We run a dedicated thread for writing to stdout because there can be an