chore: Remove typo println debug info in Input.

This commit is contained in:
Jason Lee 2025-01-27 03:54:06 +08:00
parent e658aeee96
commit 8d0773fc62

View file

@ -1030,7 +1030,6 @@ impl TextInput {
// Click in the this line but not in the text, move cursor to the end of the line.
// The fallback index is saved in Err from `index_for_position` method.
index += index_result.unwrap_err();
println!("------------------ 2");
break;
} else if line.len() == 0 {
// empty line
@ -1043,7 +1042,6 @@ impl TextInput {
break;
}
} else {
println!("------------------ 3 {}", line.len());
index += line.len();
}