JDevlieghere added inline comments.
================
Comment at: lldb/source/Interpreter/CommandReturnObject.cpp:93
return;
- GetOutputStream() << in_string << "\n";
+ GetOutputStream() << in_string;
+ if (!in_string.endswith("\n"))
----------------
How about rstripping any trailing `\n` and then always adding one?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96947/new/
https://reviews.llvm.org/D96947
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits