Skip to content

Unexpectedly scrolling up to the beginning of the chat when moving the terminal to another window #7974

@devhindo

Description

@devhindo

Description

when I have opencode running in one monitor, and I move the window to another monitor it scrolls up to the beginning of the chat, and you have to scroll all the way down again.

Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble

I believe this was not happening on the previous Opencode release

I did disable wayland on ubuntu, this might be the issue cause, but still this shouldn't happen anyway.

Plugins

none

OpenCode version

1.1.14

Steps to reproduce

  1. you should have more than one monitor
  2. have opencode running on one screen
  3. move the terminal window to another screen

you were viewing the latest chat message

output: the chat unexpectedly scrolls to the beginning of the chat, and you have to scroll down again a ton to reach the end of the chat.

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04.3

Terminal

Bash

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions