Skip to content

Terminal auto-scrolling prevents reading previous messages during agent execution and causes unwanted scroll jumps #597

@MadHuslista

Description

@MadHuslista

Bug Description

Emdash's terminal exhibits problematic auto-scrolling behavior that interferes with user interaction in two distinct scenarios. This makes it difficult to review conversation history while an agent is working and causes unexpected scroll position changes during prompt composition.

Environment

Component Version
Operating System Linux Mint 22 (Kernel 6.8.0-90-generic)
Hardware ThinkPad X1 Extreme Gen 4i
Node.js v22.14.0
npm 11.6.2
Emdash v0.3.50 (AppImage)
Augment Code CLI 0.13.0 (commit 2385f649)

Issues

Primary Issue (Consistent): Cannot scroll during agent output

Steps to Reproduce:

  1. Start Auggie on any task that generates substantial output
  2. While Auggie is actively writing/streaming output, attempt to scroll up using mouse wheel or scrollbar
  3. Observe: Terminal immediately snaps back to the bottom, preventing reading of previous content
  4. Workaround: Wait for Auggie to finish writing, then scrolling works normally

Frequency: 100% reproducible during any active agent output

Secondary Issue (Intermittent): Unwanted upward scroll during prompt composition

Steps to Reproduce:

  1. Write a long prompt (multiple paragraphs) OR use Auggie enhancement feature OR paste a large block of text
  2. Observe: Terminal may unexpectedly scroll up to the beginning, hiding the prompt input area
  3. Note: This is intermittent and difficult to reproduce consistently

Frequency: Occasional, especially with long text input

Expected Behavior

  • Users should be able to scroll up to review previous messages at any time, even during agent execution
  • Terminal should maintain scroll position when user is actively scrolling (detected via user scroll events)
  • Auto-scroll to bottom should only occur when:
    • User is not actively interacting with the scroll area
    • User was already at the bottom before new content appeared
  • Prompt input area should remain visible and accessible during text entry

Actual Behavior

  • Terminal aggressively auto-scrolls to bottom during agent output, overriding user scroll attempts
  • User cannot review conversation history while agent is working
  • Intermittent unwanted upward scrolling during prompt composition hides the input area

[UPDATE - 2026-01-12 23:00 UTC]

  • Further usage on Emdash v0.3.50 (AppImage) has showed that Primary Issue has not appeared again even after hours of usage. Not sure about the reason of the change, but the issue is not reproducible anymore so maybe would be better to ignore.
  • Nevertheless, Secondary Issue is still present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions