opencode icon indicating copy to clipboard operation
opencode copied to clipboard

TUI: Prompt gets submitted when switching sessions

Open LeonMueller-OneAndOnly opened this issue 2 days ago • 1 comments

Description

In case content is present in the input and the user switches to another session, this prompt gets directly submitted in the new session when using the keyboard shortcuts. A video is attached here:

Plugins

No response

OpenCode version

1.1.14

Steps to reproduce

  1. go into a non-empty session
  2. type something into the chat input
  3. switch to another non-empty session

Screenshot and/or share link

https://github.com/user-attachments/assets/bae95d02-f294-4234-8b1c-162556c46191

Operating System

macOS v15

Terminal

Cursor / VSCode

LeonMueller-OneAndOnly avatar Jan 12 '26 15:01 LeonMueller-OneAndOnly