# Option to Disable Automatic Code State Restoration When Accessing Chat History

**URL:** <https://forum.cursor.com/t/option-to-disable-automatic-code-state-restoration-when-accessing-chat-history/79017>\
**Category:** Help\
**Created:** [April 14, 2025, 11:30am UTC](https://forum.cursor.com/t/option-to-disable-automatic-code-state-restoration-when-accessing-chat-history/79017 "2025-04-14T11:30:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhiyuan-Weng](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/zhiyuan-weng/32/46890_2.png) [@Zhiyuan-Weng](https://forum.cursor.com/u/Zhiyuan-Weng)\
**Post date:** [April 14, 2025, 11:30am UTC](https://forum.cursor.com/t/option-to-disable-automatic-code-state-restoration-when-accessing-chat-history/79017/1 "2025-04-14T11:30:04Z")

</div>

When navigating to a previous conversation from the chat history, Cursor is now automatically restoring the code state from that conversation without asking for confirmation. Previously, Cursor would prompt users with a choice whether to revert to the historical code state or maintain the current workspace.  
How to fix it? I want to manually control this behavior.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 14, 2025, 11:30am UTC](https://forum.cursor.com/t/option-to-disable-automatic-code-state-restoration-when-accessing-chat-history/79017/2 "2025-05-14T11:30:13Z")

</div>

Closed on May 14, 2025, 11:30am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
