JDevlieghere wrote:

> And how exactly does this fix #134064?

https://github.com/llvm/llvm-project/issues/134064#issuecomment-2923315404 has 
a visualization of the problem, which you've summarized in 
https://github.com/llvm/llvm-project/pull/145823#pullrequestreview-2961296028. 

> As in, what steps are happening with this PR compared to before.

This PR uses the active IOHandler (i.e. Editline) to get the cursor position 
before we emit the newline and then uses an ANSI escape code to move the cursor 
back to its original column. I was curious why, depending on the timing, 
Editline was able to recover from this and this is how Editline does it.

https://github.com/llvm/llvm-project/pull/145823
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to