Skip to content

[Bug]: CLI terminal window jumps periodically during idle after agent turn completes #64776

Description

@xyushi0809

Bug Description

After the agent finishes a turn and returns to the idle prompt, the terminal window continues to scroll/jump at short intervals (roughly every 0.15–0.16 s). The jitter persists indefinitely and does not stop until the Hermes CLI process is restarted.

Steps to Reproduce

  1. Start Hermes CLI.
  2. Send any message (e.g., a simple chat query).
  3. Wait for the agent turn to fully complete — prompt returns, no active spinner.
  4. Leave the terminal idle without typing.
  5. Observe periodic window scroll/jump at ~0.16 s intervals.

Expected Behavior

Idle terminal is stable — no periodic repaints, no window scrolling.

Actual Behavior

  1. Agent turn completes; prompt returns to idle state.
  2. No user input — terminal is left idle.
  3. Window begins periodic scrolling/jumping every ~0.16 s.
  4. Status bar shows transient animation frames or an incrementing timer.
  5. /redraw temporarily clears the state; jitter resumes after the next completed turn.
  6. display.cli_refresh_interval: 0 does not eliminate the behavior.

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/T1MMU
agent.log    https://paste.rs/sp3Vk
gateway.log  https://paste.rs/XqSow

Operating System

Windows 11

Python Version

3.11.4

Hermes Version

0.18.2

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havebugcomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions