Shell commands are not stored in message history #1341

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

Originally created by @yihuikhuu on GitHub (Aug 16, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Shell commands are not stored in the message history, so pressing up to restore the previous message only restores the last non-shell prompt.

This feels a bit unintuitive as it seems common for all commands to be stored in history in most other scenarios, e.g. terminal history.

Originally created by @yihuikhuu on GitHub (Aug 16, 2025). Originally assigned to: @adamdotdevin on GitHub. Shell commands are not stored in the message history, so pressing `up` to restore the previous message only restores the last non-shell prompt. This feels a bit unintuitive as it seems common for all commands to be stored in history in most other scenarios, e.g. terminal history.
yindo closed this issue 2026-02-16 17:30:30 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 16, 2025):

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

  • #1975: Similar keyboard navigation functionality issue (ctrl + arrow keys no longer working)

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

@github-actions[bot] commented on GitHub (Aug 16, 2025): This issue might be a duplicate of existing issues. Please check: - #1975: Similar keyboard navigation functionality issue (ctrl + arrow keys no longer working) Feel free to ignore if none of these address your specific case.
Author
Owner

@yihuikhuu commented on GitHub (Aug 18, 2025):

Closing as this is intentional behaviour as discussed in #2007

@yihuikhuu commented on GitHub (Aug 18, 2025): Closing as this is intentional behaviour as discussed in #2007
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1341