From 8d0773fc628d4d4d6d81c2fbbb583646eefef9d0 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Mon, 27 Jan 2025 03:54:06 +0800 Subject: [PATCH] chore: Remove typo println debug info in Input. --- crates/ui/src/input/input.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/ui/src/input/input.rs b/crates/ui/src/input/input.rs index cb9a545f..413083ca 100644 --- a/crates/ui/src/input/input.rs +++ b/crates/ui/src/input/input.rs @@ -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(); }