Skip to content

Commit ec3ad27

Browse files
committed
Fix regression
1 parent a9530f0 commit ec3ad27

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "passepartui"
33
description = "A TUI for pass"
4-
version = "0.1.1"
4+
version = "0.1.2"
55
edition = "2021"
66
authors = ["Karl Felix Schewe"]
77
readme = "README.md"

src/app.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,8 @@ impl<'a> App<'a> {
158158
KeyCode::Esc | KeyCode::Enter => Some(Action::Navigation(NavigationAction::Leave)),
159159
KeyCode::Down => Some(Action::Navigation(NavigationAction::Down)),
160160
KeyCode::Up => Some(Action::Navigation(NavigationAction::Up)),
161-
KeyCode::PageDown | KeyCode::Char('f') => {
162-
Some(Action::Navigation(NavigationAction::PageDown))
163-
}
164-
KeyCode::PageUp | KeyCode::Char('b') => {
165-
Some(Action::Navigation(NavigationAction::PageUp))
166-
}
161+
KeyCode::PageDown => Some(Action::Navigation(NavigationAction::PageDown)),
162+
KeyCode::PageUp => Some(Action::Navigation(NavigationAction::PageUp)),
167163
KeyCode::F(1) => Some(Action::Navigation(NavigationAction::Help)),
168164
KeyCode::Char(key) => Some(Action::Search(SearchAction::Insert(key))),
169165
KeyCode::Backspace => Some(Action::Search(SearchAction::RemoveLeft)),

0 commit comments

Comments
 (0)