Cursor · tool · fg-0510

Cursor Agent terminal output is truncated or garbled with Powerlevel10k or another heavy prompt

If you see Command output looks cut off or misformatted in Agent's terminal, the cause and the fix for Cursor are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Command output looks cut off or misformatted in Agent's terminalThe same command prints normally in a plain terminal
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
Affected
Cursor Agent terminal on zsh and bash, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun