[Lldb-commits] [PATCH] D18335: Fix for missing prompt on Windows

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 21 15:22:21 PDT 2016


clayborg added a comment.

It would be nice to clear the line though. What _should_ happen is the "(lldb) " prompt is cleared by clearing text to the start of where the prompt was printed, then display the async text and refresh the prompt. So this fix is a bit hacky in that it isn't trying to solve the clearing of the prompt, it will just display it twice. If you start with:

  (lldb) 

Then get async text of "async text here\n". On windows you would now get:

  (lldb)
  async text here
  (lldb)

Instead of the correct behavior in editline:

  async text here
  (lldb)

as it would have backed up over the prompt before displaying the async text.


http://reviews.llvm.org/D18335





More information about the lldb-commits mailing list