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 {
81
81
82
82
pub fn move_cursor_to_end ( & mut self ) {
83
83
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 ) ;
87
85
}
88
86
}
89
87
Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ impl ConventionalCommitPopup {
598
598
self . queue . push (
599
599
crate :: queue:: InternalEvent :: AddCommitMessage (
600
600
format ! (
601
- "{emoji} {commit_type}{}{} {short_msg}" ,
601
+ "{emoji} {commit_type}{}{}{short_msg}" ,
602
602
if self . is_breaking { "!" } else { "" } ,
603
- if short_msg. is_empty( ) { "" } else { ":" } ,
603
+ if short_msg. is_empty( ) { "" } else { ": " } ,
604
604
) ,
605
605
) ,
606
606
) ;
You can’t perform that action at this time.
0 commit comments