TUI: Prompt gets submitted when switching sessions #4939

Closed
opened 2026-02-16 17:46:48 -05:00 by yindo · 0 comments
Owner

Originally created by @LeonMueller-OneAndOnly on GitHub (Jan 12, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @LeonMueller-OneAndOnly on GitHub (Jan 12, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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
yindo added the opentuibug labels 2026-02-16 17:46:48 -05:00
yindo closed this issue 2026-02-16 17:46:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4939