After undo, our previous prompt is missing in textbox #2517

Closed
opened 2026-02-16 17:36:04 -05:00 by yindo · 2 comments
Owner

Originally created by @leeweisern on GitHub (Nov 3, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Before opentui, when we used the undo function, our previous prompt would appear in the textbox. This feature was very useful when we only wanted to modify certain instructions. Currently, when I use /undo, I have to retype the prompt.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @leeweisern on GitHub (Nov 3, 2025). Originally assigned to: @thdxr on GitHub. ### Description Before opentui, when we used the undo function, our previous prompt would appear in the textbox. This feature was very useful when we only wanted to modify certain instructions. Currently, when I use /undo, I have to retype the prompt. ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:36:04 -05:00
yindo closed this issue 2026-02-16 17:36:04 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3368: Same issue - /undo doesn't put previous prompt in the input box in OpenTUI

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 3, 2025): This issue might be a duplicate of existing issues. Please check: - #3368: Same issue - /undo doesn't put previous prompt in the input box in OpenTUI Feel free to ignore if none of these address your specific case.
Author
Owner

@thdxr commented on GitHub (Nov 6, 2025):

fixed

@thdxr commented on GitHub (Nov 6, 2025): fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2517