Skip to content

Commit cb20254

Browse files
committed
🩹 fix: add the scroll keys
1 parent 80e3f9f commit cb20254

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/popups/conventional_commit.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ impl ConventionalCommitPopup {
475475
let mut available_chars = ('a'..='z').collect_vec();
476476

477477
for k in [
478-
self.key_config.keys.move_down,
479-
self.key_config.keys.move_up,
478+
self.key_config.keys.popup_up,
479+
self.key_config.keys.popup_down,
480480
self.key_config.keys.exit_popup,
481481
self.key_config.keys.breaking,
482482
self.key_config.keys.exit,
@@ -721,7 +721,7 @@ impl Component for ConventionalCommitPopup {
721721
}
722722

723723
out.push(CommandInfo::new(
724-
strings::commands::scroll(&self.key_config),
724+
strings::commands::scroll_popup(&self.key_config),
725725
true,
726726
true,
727727
));
@@ -813,7 +813,9 @@ impl Component for ConventionalCommitPopup {
813813
}
814814
}
815815
#[cfg(not(feature = "gitmoji"))]
816-
self.validate_escape(commit);
816+
self.validate_escape(
817+
self.query_results_type[idx],
818+
);
817819
}
818820
}
819821
}

0 commit comments

Comments
 (0)