diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index eb90462afee8..add3ad8c5ba3 100644 --- a/lldb/source/Core/IOHandler.cpp +++ b/lldb/source/Core/IOHandler.cpp @@ -540,7 +540,7 @@ IOHandlerEditline::GetLines (StringList &lines, bool &interrupted) { FILE *out = GetOutputFILE(); if (out) - ::fprintf(out, "%u", m_base_line_number + (uint32_t)lines.GetSize()); + ::fprintf(out, "%u%s", m_base_line_number + (uint32_t)lines.GetSize(), GetPrompt() == NULL ? " " : ""); } bool interrupted = false;