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 55cc27b commit 7887c20Copy full SHA for 7887c20
frontend/src/components/Terminal.tsx
@@ -8,7 +8,8 @@ const Terminal = () => {
8
const inputRef = useRef<HTMLInputElement>(null);
9
const router = useRouter();
10
11
- // Automatically focus and move cursor to the end
+ // Automatically select the end of the input as the custom
12
+ // cursor only works at the end of the input.
13
const setInputEnd = () => {
14
if (inputRef.current) {
15
const len = inputRef.current.value.length;
0 commit comments