You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change bg_task_title from Alignment::Left to Alignment::Right
Reorder the .title() calls on the block so attachments are added FIRST, then bg_task SECOND. Ratatui renders right-aligned titles right-to-left in insertion order, so adding attach first + bg_task second gives the visual order [bg_task] [attach] (bg_task left of attach). If the ordering is wrong, combine bg_task + attachment spans into a single right-aligned title to guarantee left-to-right order.
Context
Requested by Adolfo. The background task feedback (detached background commands like cargo clippy) should be visually grouped with the context budget on the right side, not isolated on the left.
Current Layout (input box top border)
In
src/tui/render/input.rs,render_input():bg_task_title,Alignment::Left) -- e.g. "cargo clippy 18s"attach_title,Alignment::Right) -- e.g. "[Image Use candle as a powerful way to run local LLMs without OLLAMA #1]"context_title, viatitle_bottom) -- e.g. "ctx: 118K/200K (59%)"Desired Layout
Move the background task feedback from the LEFT to the RIGHT side of the top border, so it sits above the context budget:
Visual result:
Implementation
File:
src/tui/render/input.rs,render_input()function.bg_task_titlefromAlignment::LefttoAlignment::Right.title()calls on the block so attachments are added FIRST, then bg_task SECOND. Ratatui renders right-aligned titles right-to-left in insertion order, so adding attach first + bg_task second gives the visual order[bg_task] [attach](bg_task left of attach). If the ordering is wrong, combine bg_task + attachment spans into a single right-aligned title to guarantee left-to-right order.Context
Requested by Adolfo. The background task feedback (detached background commands like cargo clippy) should be visually grouped with the context budget on the right side, not isolated on the left.