DavidSpickett wrote:

Ok I get what we're doing now but...

> 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.

This PR uses the active IOHanlder (which is Editline), but you're saying that 
prior to this PR, Editline was sometimes able to recover. So we were using 
Editline all along? Confused as to what is Editline the library and what is our 
Editline code.

Do you mean that it's now all done in the same place and that keeps the timing 
correct?

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