Jelajahi Sumber

Fix where console output freezes.

Steve Thielemann 3 tahun lalu
induk
melakukan
59ea47c81a
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  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.