Describe the bug
There are issues when navigating the terminal input history:
- Input is not cleared when the down arrow is clicked while the first history item is active.
- Input is lost when navigating history with arrow keys.
To Reproduce
Steps to reproduce the behavior:
- Enter multiple commands in the terminal.
- Use the up arrow to scroll back in history.
- Press the down arrow to return towards the latest command.
- Observe that input is not cleared or is lost depending on state.
Expected behavior
- Input should be cleared when moving down from the first history entry back to blank/new input.
- Input should remain correctly synchronized and not be lost when navigating history.
Screenshots
N/A
Additional context
These bugs impact usability, as users expect history navigation to accurately reflect their command history without losing inputs.
Describe the bug
There are issues when navigating the terminal input history:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
N/A
Additional context
These bugs impact usability, as users expect history navigation to accurately reflect their command history without losing inputs.