<div dir="ltr">Hello,<div><br></div><div><div>This patch contains the fix of prompt's printing after commands in MI mode.</div><div><br></div><div>Previously the prompt was printed in MICmnStreamStdin::MonitorStdin before ::fgets() was called what was wrong because lldb-mi has separate thread to read user's input. Therefore prompt was printed after each user's input even if command hadn't been executed. In this patch prompt is printed after the command is executed.</div><div>Also, early the prompt was declared in different places. I have refactored this code and have moved it to CMICmnStreamStdout::WritePrompt function.</div><div>And finally I added checks for my improvements in TestMiBreakpoint test.</div></div><div><br></div><div>Thanks,</div><div>Ilia</div></div>