opencode
opencode copied to clipboard
TUI: Prompt gets submitted when switching sessions
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
- go into a non-empty session
- type something into the chat input
- 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