Skip to content

[Bug] Opencode CLI jumps back to latest message #38692

Closed as not planned
Closed as not planned

Description

@suse-coder

Description

When i go in the cli up to view some chats and the opencode is still generating new messages, it will jump again to the latest message. That is annoying as it should generate and continue but I still want to scroll through the older messages.

Plugins

No response

OpenCode version

1.17.11

Steps to reproduce

  1. Lets opencode work
  2. scroll (page up) to upper messages
  3. will again jump to latest message

Screenshot and/or share link

No response

Operating System

ubuntu in wsl

Terminal

vscode terminal

Activity

  1. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. nkosi23 commented on Sep 15, 2026

    @nkosi23

    Any update about this one ?

    Surprising that such an issue is still present for such a mature harness. Looks like not many people using opencode read the train of thoughts of the model, all vibe-coding ? 😆

    On deepseek v4.1 which is a super fast model, this makes it impossible to read anything while the model is working.

  3. simonklee commented on Sep 15, 2026

    @simonklee
    Member

    Any update about this one ?

    Surprising that such an issue is still present for such a mature harness. Looks like not many people using opencode read the train of thoughts of the model, all vibe-coding ? 😆

    On deepseek v4.1 which is a super fast model, this makes it impossible to read anything while the model is working.

    can you try https://opencode.ai/v2/docs

  4. suse-coder commented on Sep 15, 2026

    @suse-coder
    Author

    its still doing that in v2

  5. Nowaker commented on Oct 8, 2026

    @Nowaker

    I built a fix for this for my own use on v1: #53219

    The cause is the 100-message cap in the TUI store: each new message past it drops the oldest one above the viewport, so a scrolled-up reader slides until sticky scroll grabs the view again. The PR keeps the reader's place. v1 is maintenance-only, so it's there for anyone who wants it; a v2 version will follow.

  6. suse-coder commented on Oct 8, 2026

    @suse-coder
    Author

    Seems to get getter in latest version

  7. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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