teemperor added inline comments.
================
Comment at: lldb/source/Interpreter/CommandReturnObject.cpp:93
return;
- GetOutputStream() << in_string << "\n";
+ GetOutputStream() << in_string;
+ if (!in_string.endswith("\n"))
----------------
JDevlieghere wrote:
> How about rstripping any trailing `\n` and then always adding one?
I actually like the idea even more. I updated to rstrip and then just add a
newline.
Repository:
rG LLVM Github Monorepo
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