Bug Description
The main chat terminal container in ChatInterface.tsx and MultiAgentTask.tsx uses Tailwind's max-w-4xl class (896px max-width). This caps the terminal at roughly ~110 columns regardless of how wide the Emdash window is.
When using a wide monitor or full-screen window, the terminal stays capped at 896px and the extra horizontal space is wasted. The sidebar (Context, MCP, Todo panel) already takes ~280px, so on a 1920px screen the terminal only uses about 46% of available width.
Affected code
src/renderer/components/ChatInterface.tsx:1252 — terminal container div: max-w-4xl
src/renderer/components/ChatInterface.tsx:1164 — tab bar container: max-w-4xl
src/renderer/components/MultiAgentTask.tsx:640 — multi-agent terminal: max-w-4xl
src/renderer/components/MultiAgentTask.tsx:723 — multi-agent input: max-w-4xl
The FitAddon and ResizeObserver chain works correctly — the terminal would resize to fill the container, but the CSS caps the container width.
Expected Behavior
The chat terminal should scale with the window width, either:
- Remove
max-w-4xl entirely and let the terminal fill available space
- Use a much wider cap (e.g.,
max-w-[1600px] or max-w-screen-xl)
- Make it configurable in settings
Environment
Bug Description
The main chat terminal container in
ChatInterface.tsxandMultiAgentTask.tsxuses Tailwind'smax-w-4xlclass (896px max-width). This caps the terminal at roughly ~110 columns regardless of how wide the Emdash window is.When using a wide monitor or full-screen window, the terminal stays capped at 896px and the extra horizontal space is wasted. The sidebar (Context, MCP, Todo panel) already takes ~280px, so on a 1920px screen the terminal only uses about 46% of available width.
Affected code
src/renderer/components/ChatInterface.tsx:1252— terminal container div:max-w-4xlsrc/renderer/components/ChatInterface.tsx:1164— tab bar container:max-w-4xlsrc/renderer/components/MultiAgentTask.tsx:640— multi-agent terminal:max-w-4xlsrc/renderer/components/MultiAgentTask.tsx:723— multi-agent input:max-w-4xlThe FitAddon and ResizeObserver chain works correctly — the terminal would resize to fill the container, but the CSS caps the container width.
Expected Behavior
The chat terminal should scale with the window width, either:
max-w-4xlentirely and let the terminal fill available spacemax-w-[1600px]ormax-w-screen-xl)Environment