[Bug] The chat transcript sits out of alignment with the prompt box in inline mode
Description
In inline mode (--no-alt-screen), the chat transcript renders flush against the terminal's left edge, while the prompt box and status bar below it are indented a few columns further right a visible left-edge misalignment between what you're reading and what you're typing into.
Parent: #907
Steps to Reproduce
- Start Nanocoder with
--no-alt-screen(inline mode). - Send a message and get a reply.
- Compare the left edge of the transcript ("You:", the message text, "mock-model:", etc.) against the left edge of the prompt box border below it.
Expected Behavior
The transcript and the prompt box share the same left inset.
Actual Behavior
The transcript sits flush at column 0; the prompt box and the status bar beneath it are indented roughly 2-3 columns further right, visibly out of alignment with everything above them.
Recording
Root Cause
source/app/components/chat-history.tsx:214:
// Inline: the live component sits below the absolutely-positioned
// <Static>, so it pulls back -1 to share that left edge. ...
<Box marginLeft={fullscreen ? 0 : -1} flexDirection="column">
This only adjusts the live (in-progress) component's margin to match the <Static>-rendered transcript history above it it does not reconcile either of those with the prompt box's own left inset, which is set independently in the composer's own wrapper.
Suggested Fix
Apply one shared left inset constant to both the transcript (Static + live) and the prompt box in inline mode, instead of each computing its own margin independently.
Additional Context
- [x] I have searched existing issues to ensure this is not a duplicate
- [x] I can reproduce this issue consistently
- [x] This issue occurs on the latest
main
Hey @akramcodez, could you assign this me ?