[PR #5545] feat(tui): reinsert forked message text in prompt text input box when forking session (resolves #5495) #11468

Closed
opened 2026-02-16 18:16:18 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5545

State: closed
Merged: Yes


This PR adjusts the behaviour when forking a session so that the text of the message on which the session is being forked is reinserted in the prompt text input box.

This improves ergonomics and can save two clicks and a keystroke by eliminating the need for the currently-common pattern of copying a message (two clicks) before forking on it so that you can begin the fork using a modified version of that message (one keystroke to past the copied message back into the prompt text input box).

Resolves #5495.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5545 **State:** closed **Merged:** Yes --- This PR adjusts the behaviour when forking a session so that the text of the message on which the session is being forked is reinserted in the prompt text input box. This improves ergonomics and can save two clicks and a keystroke by eliminating the need for the currently-common pattern of copying a message (two clicks) before forking on it so that you can begin the fork using a modified version of that message (one keystroke to past the copied message back into the prompt text input box). Resolves #5495.
yindo added the pull-request label 2026-02-16 18:16:18 -05:00
yindo closed this issue 2026-02-16 18:16:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11468