Skip to content

[Bug]: Chat input loses focus to terminal when agent is running #27

@arminulrich

Description

@arminulrich

Platform

macOS

Operating system version

26.3

System architecture

ARM64 (M1, M2, etc)

PolyScope Version

0.7.0

Bug description

When an agent is actively working and a terminal process is running (e.g. a dev server or similar), the focus frequently jumps away from the chat input field to the terminal pane. This makes it difficult to type follow-up messages or prepare the next prompt while the agent is executing, as keystrokes end up in the terminal instead of the chat.

Steps to reproduce

  1. Start a terminal process that produces ongoing output (e.g. an HTTP server like python -m http.server)
  2. Have an agent running/working on a task
  3. Click into the chat input field
  4. While the agent is still working and the terminal is producing output, observe that focus jumps from the chat input to the terminal
  5. Keystrokes now go to the terminal instead of the chat

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions