File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ impl TextInputComponent {
8181
8282 pub fn move_cursor_to_end ( & mut self ) {
8383 if let Some ( ta) = & mut self . textarea {
84- for _ in 0 ..100 {
85- ta. move_cursor ( CursorMove :: Forward ) ;
86- }
84+ ta. move_cursor ( CursorMove :: End ) ;
8785 }
8886 }
8987
Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ impl ConventionalCommitPopup {
598598 self . queue . push (
599599 crate :: queue:: InternalEvent :: AddCommitMessage (
600600 format ! (
601- "{emoji} {commit_type}{}{} {short_msg}" ,
601+ "{emoji} {commit_type}{}{}{short_msg}" ,
602602 if self . is_breaking { "!" } else { "" } ,
603- if short_msg. is_empty( ) { "" } else { ":" } ,
603+ if short_msg. is_empty( ) { "" } else { ": " } ,
604604 ) ,
605605 ) ,
606606 ) ;
You can’t perform that action at this time.
0 commit comments