diff --git a/myagents/launcher.py b/myagents/launcher.py index e7dba1e..8680cad 100644 --- a/myagents/launcher.py +++ b/myagents/launcher.py @@ -1048,10 +1048,14 @@ def _clear_picker_block(prev_height: int) -> None: Uses Delete Line (``CSI n M``) rather than blanking lines, so the block disappears entirely instead of leaving N empty rows below the prompt. + Ends with ``\r`` so the next writer (``console.print`` of the Resuming + line, or the shell prompt) starts at column 0, not wherever the block's + last row left the cursor. """ if prev_height: sys.stdout.write(f"\x1b[{prev_height}A") sys.stdout.write(f"\x1b[{prev_height}M") + sys.stdout.write("\r") sys.stdout.flush()