Terminal never returns to agent

Hi,

When running some commands, the agent will wait for the terminal indefinitely, even when the command has stopped running.
Using “Pop out terminal” will usually help but it breaks the user experience.

Using Cursor 0.48.2, on Windows but with Remote SSH into a Mac.
The shell is zsh, with prezto as the “configuration” with a specific prompt provided below

function prompt_cubox_setup {
    if [[ $UID -eq 0 ]]; then
        eval user="%F{red}%B%n%f%b"
        local userprompt="%b%F{red}λ %f%b"
    else
        eval user="%F{green}%B%n%f%b"
        local userprompt="%b%F{blue}λ %f%b"
    fi
    if [[ -n "$SSH_CLIENT"  ||  -n "$SSH2_CLIENT" ]]; then
        eval host="%F{yellow}%B%M%f%b"
    else
        eval host="%F{red}%B%M%f%b"
    fi
    local user_host="${user}%F{blue}@${host}"
    local currentdir='%F{166}%B%~%b%f'

    zstyle ':prezto:module:editor:info:completing' format '%B%F{red}...%f%b'
    PROMPT="%F{blue}<${user_host}%F{blue}>-<${currentdir}%F{blue}> %F{blue}$userprompt%f%b"
}

prompt_cubox_setup "$@"

Happy to provide more info as needed

Duplicate of Agent not detecting that a command has completed - Bug Reports - Cursor - Community Forum

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.