We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d3cbf commit 3720063Copy full SHA for 3720063
src/index.tsx
@@ -97,7 +97,7 @@ const Terminal = ({
97
return history.length - 1;
98
}
99
100
- // If we're in the last history entry and user presses ArrowDown, go back to the temporary input value.
+ // If we're at the most recent history entry and user presses ArrowDown, go back to the temporary input value.
101
if (oldIndex === history.length - 1 && direction === 1) {
102
setCurrentLineInput(tmpInputValue);
103
setTmpInputValue("");
0 commit comments