Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7887c20

Browse files
author
Dylan Zhang
committed
comment
1 parent55cc27b commit7887c20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎frontend/src/components/Terminal.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const Terminal = () => {
88
constinputRef=useRef<HTMLInputElement>(null);
99
constrouter=useRouter();
1010

11-
// Automatically focus and move cursor to the end
11+
// Automatically select the end of the input as the custom
12+
// cursor only works at the end of the input.
1213
constsetInputEnd=()=>{
1314
if(inputRef.current){
1415
constlen=inputRef.current.value.length;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp