فهرست منبع

Fix where console output freezes.

Steve Thielemann 3 سال پیش
والد
کامیت
59ea47c81a
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      director.cpp

+ 4 - 2
director.cpp

@@ -45,12 +45,14 @@ Director::Director() {
 Director::~Director() { BUGZ_LOG(warning) << "Director::~Director()"; }
 
 void Director::client_input(const std::string &input) { 
+  std::string output = repr(input);
+  
   if (chain) {
-    BUGZ_LOG(trace) << chain->name << " CI: [" << input << "]";
+    BUGZ_LOG(trace) << chain->name << " CI: [" << output << "]";
     chain->client_input(input);
     return;
   } else {
-    BUGZ_LOG(trace) << "CI: [" << input << "]";
+    BUGZ_LOG(trace) << "CI: [" << output << "]";
   }
 
   // If we're already active, don't try to activate.