Skip to content

text selection is cleared after messages_page_up/down #47632

Closed as not planned
Closed as not planned

Description

@SimonZh1234

Description

I disable auto copying function of opencode TUI with OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT=true opencode, so that the text selection can persist. When I scroll inside the terminal with mouse wheel, the text is still selected. However, if I scroll the page with keybinding messages_page_up/messages_page_down, the text selection is gone. I think messages_page_up/messages_page_down is a fast way to navigate historical message, but I still need some anchor point (such as the selected text) for alignment of different section. So I hope messages_page_up/messages_page_down can preserve the text selection, just like scrolling by wheel.

Plugins

No response

OpenCode version

1.18.29

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

Konsole

Activity

  1. github-actions commented on Sep 6, 2026

    @github-actions
    Contributor

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  2. 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