mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
use popup specific up/down cmds (fixes #1831)
This commit is contained in:
parent
7558d25e25
commit
2377924f9c
1 changed files with 6 additions and 6 deletions
|
|
@ -328,9 +328,7 @@ impl Component for LogSearchPopupComponent {
|
||||||
|
|
||||||
out.push(
|
out.push(
|
||||||
CommandInfo::new(
|
CommandInfo::new(
|
||||||
strings::commands::navigate_tree(
|
strings::commands::scroll_popup(&self.key_config),
|
||||||
&self.key_config,
|
|
||||||
),
|
|
||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
)
|
)
|
||||||
|
|
@ -370,12 +368,14 @@ impl Component for LogSearchPopupComponent {
|
||||||
&& !self.find_text.get_text().trim().is_empty()
|
&& !self.find_text.get_text().trim().is_empty()
|
||||||
{
|
{
|
||||||
self.execute_search();
|
self.execute_search();
|
||||||
} else if key_match(key, self.key_config.keys.move_up)
|
} else if key_match(
|
||||||
{
|
key,
|
||||||
|
self.key_config.keys.popup_up,
|
||||||
|
) {
|
||||||
self.move_selection(true);
|
self.move_selection(true);
|
||||||
} else if key_match(
|
} else if key_match(
|
||||||
key,
|
key,
|
||||||
self.key_config.keys.move_down,
|
self.key_config.keys.popup_down,
|
||||||
) {
|
) {
|
||||||
self.move_selection(false);
|
self.move_selection(false);
|
||||||
} else if key_match(
|
} else if key_match(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue