[Lldb-commits] [lldb] [lldb] Correct handling of ANSI codes in command option help (PR #178653)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 29 06:48:46 PST 2026


DavidSpickett wrote:

> ANSI codes are currently only applied to single characters. Whole words would be fine as long as you don't split words. If you modify multiple words, the ANSI code will be split over two lines. In this case, the indentation would also be formatted by the code.

We can use ANSI cursor movement to indent instead, which avoids formatting the indent. I'll do this in another PR.

https://github.com/llvm/llvm-project/pull/178653


More information about the lldb-commits mailing list