Skip to content

Text duplication when starting a new session #11922

@brogulj

Description

@brogulj

Description

Text box not clearing after message is sent when switching to a new session.

Plugins

No plugins

OpenCode version

1.1.49

Steps to reproduce

  1. Be in session A
  2. Start writing a prompt in session A
  3. Switch to session B without clearing the prompt in the text box (switch because of context)
  4. Prompt carries to session B as expected
  5. After sending that prompt in session B, it appears again and is not cleared from the text box (that causes issues with very long prompts because you need to clear it line by line)

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

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