diff --git a/src/main.cpp b/src/main.cpp index 7b136c8..d729322 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -196,7 +196,12 @@ int main(int argc, char **argv) // load message if(vm.count("pipe")) { - while(cin >> message) {}; + string pipeBuffer; + + while(cin >> pipeBuffer) + { + message += pipeBuffer; + } } else {