Use thread rollback for Esc backtrack (#9140)

- Swap Esc backtrack to roll back the current thread instead of forking
This commit is contained in:
Ahmed Ibrahim authored and GitHub committed 2026-01-13 09:17:39 +00:00
1 parent 17ab5f6a52
commit 3a300d1117
6 files changed
+196 -277

No files matched your search

-4
View File
@@ -1,7 +1,6 @@
use std::path::PathBuf;
use codex_common::approval_presets::ApprovalPreset;
use codex_core::protocol::ConversationPathResponseEvent;
use codex_core::protocol::Event;
use codex_core::protocol::RateLimitSnapshot;
use codex_file_search::FileMatch;
@@ -180,9 +179,6 @@ pub(crate) enum AppEvent {
/// Re-open the approval presets popup.
OpenApprovalsPopup,
/// Forwarded conversation history snapshot from the current conversation.
ConversationHistory(ConversationPathResponseEvent),
/// Open the branch picker option from the review popup.
OpenReviewBranchPicker(PathBuf),