[BUG] Claude Code TUI: Large gap between welcome box and prompt box on launch (v2.1.168, macOS 15.7.3, Apple Terminal)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
<html><head></head><body><h1>Bug Report: Claude Code TUI — Large gap between welcome box and prompt box on launch</h1>
<h2>Summary</h2>
<p>On launch, Claude Code renders a large empty gap between the welcome/info box at the top and the prompt box (<code>></code>) at the bottom. Expected behavior (confirmed from other users running the same version) is that the prompt box appears directly below the welcome box with minimal spacing.</p>
<h2>Environment</h2>
|
-- | --
OS | macOS 15.7.3 (Sequoia) — Build 24G419
Hardware | Apple Silicon (M-series Mac)
Claude Code version | 2.1.168
Terminal app | Apple Terminal (TERM_PROGRAM=Apple_Terminal)
TERM | xterm-256color
Terminal size at launch | 118 cols × 45 rows
<h2>Steps to Reproduce</h2>
<ol>
<li>Open Apple Terminal on macOS 15.3.7</li>
<li>Type <code>claude</code> and press Enter</li>
<li>Observe the TUI layout on launch</li>
</ol>
<h2>Expected Behavior</h2>
<p>Prompt box (<code>></code>) appears directly below the welcome/info box — compact layout as seen in other users' terminals running the same version (v2.1.168).</p>
<h2>Actual Behavior</h2>
<p>Large empty gap between the welcome box and the prompt box. The prompt box is pushed toward the bottom of the terminal window regardless of window size. Resizing the terminal window does not fix the issue.</p>
<h2>Screenshots</h2>
<p><strong>Expected (other user, same version v2.1.168):</strong></p>
<blockquote>
<p>Welcome box → [small gap] → prompt box <code>></code></p>
</blockquote>
<p><strong>Actual (my terminal):</strong></p>
<blockquote>
<p>Welcome box → [large empty gap spanning most of the terminal height] → prompt box <code>></code></p>
</blockquote>
<h2>Additional Context</h2>
<ul>
<li>Issue appeared suddenly without any deliberate changes to Claude Code</li>
<li>Behavior is consistent across different terminal window sizes (maximized or small)</li>
<li><code>LINES=45</code>, <code>COLUMNS=118</code> are correct values matching actual terminal dimensions</li>
<li>No abnormal environment variables related to Anthropic/Claude/AWS detected (<code>env | grep -iE "anthropic|claude|kiro|aws"</code> returns nothing unexpected from shell)</li>
<li><code>.zshrc</code> has been cleaned (no conflicting env injections)</li>
<li>Mac was restarted — swap and memory are clean (<code>Swapouts: 0</code>)</li>
<li><code>hasCompletedOnboarding</code> reset to <code>false</code> — no change in layout</li>
<li>Caveman plugin hooks present in <code>~/.claude/hooks/</code> but statusline script only affects badge rendering, not layout</li>
<li><code>settings.json</code> uses a local proxy (<code>ANTHROPIC_BASE_URL: http://127.0.0.1:20128/v1</code>) — tested with <code>ANTHROPIC_BASE_URL="" claude</code> and layout issue persists</li>
</ul>
<h2>Settings (redacted)</h2>
<pre><code class="language-json">{
"model": "opus",
"enableWorkflows": true,
"effortLevel": "xhigh",
"theme": "dark",
"hasCompletedOnboarding": true,
"enabledPlugins": {
"superpowers@claude-plugins-official": true,
"context7@claude-plugins-official": true,
"claude-md-management@claude-plugins-official": true,
"vercel@claude-plugins-official": true,
"frontend-design@claude-plugins-official": true
}
}
</code></pre></body></html>
<img width="782" height="330" alt="Image" src="https://github.com/user-attachments/assets/d4838645-553f-4b79-8038-cf5c8ba5a56e" />
<img width="1334" height="1130" alt="Image" src="https://github.com/user-attachments/assets/bb7f3f7b-ed6c-4a84-b64a-780236a2eb50" />
What Should Happen?
"The prompt box (>) should appear directly below the welcome/info box with minimal spacing, as seen on other users' terminals running the same version (v2.1.168)."
Error Messages/Logs
Steps to Reproduce
- Open Apple Terminal (not VS Code terminal) on macOS 15.7.3
- Type
claudeand press Enter - On launch, observe the TUI layout — there is a large empty gap between the welcome/info box at the top and the prompt box (
>) at the bottom - Try resizing the terminal window (small or fullscreen) — gap remains the same regardless of window size
No specific code or files needed to reproduce — happens on every fresh claude launch.
Environment:
- macOS 15.7.3 (Build 24G419), Apple Silicon
- Claude Code v2.1.168
- Apple Terminal, TERM=xterm-256color
- Terminal size: 118 cols × 45 rows
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.168
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗