Cursor · tool · fg-0510
Cursor Agent terminal output is truncated or garbled with Powerlevel10k or another heavy prompt
Command output looks cut off or misformatted in Agent's terminal
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
Prompt themes such as Powerlevel9k and Powerlevel10k interfere with how Cursor captures inline terminal output for Agent.
Fix
Skip the theme when the CURSOR_AGENT variable is set, so Agent sessions get a simple prompt.
Apply
# ~/.zshrc if [[ -z "$CURSOR_AGENT" ]]; then [[ -r ~/.p10k.zsh ]] && source ~/.p10k.zsh fi
Affects: Cursor Agent terminal on zsh and bash, as of 2026-10
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp