VSCode extension: Up arrow key in input field overwrites typed text with history
Description
In the Claude Code VSCode extension, pressing the Up arrow key at the top of the input field loads the previous conversation message into the input. This overwrites any text the user has already typed, causing data loss.
Steps to reproduce
- Open Claude Code in the VSCode extension (not terminal)
- Start typing a message in the input field
- Move the cursor to the top of the input
- Press the Up arrow key
Expected behavior
The cursor should stop at the top of the input field without changing the content, or at minimum there should be a setting to disable this history navigation behavior.
Actual behavior
The entire input content is replaced with the previous conversation message. The text the user was typing is lost with no way to recover it.
Feature request
Please add an option to disable the Up arrow history navigation in the input field, or change the behavior so it does not activate when the input field already contains text.
Environment
- OS: Windows 10
- Claude Code VSCode Extension v2.1.81
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗