Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
kardwen committed Nov 16, 2024
1 parent a9530f0 commit ec3ad27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "passepartui"
description = "A TUI for pass"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["Karl Felix Schewe"]
readme = "README.md"
Expand Down
8 changes: 2 additions & 6 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,8 @@ impl<'a> App<'a> {
KeyCode::Esc | KeyCode::Enter => Some(Action::Navigation(NavigationAction::Leave)),
KeyCode::Down => Some(Action::Navigation(NavigationAction::Down)),
KeyCode::Up => Some(Action::Navigation(NavigationAction::Up)),
KeyCode::PageDown | KeyCode::Char('f') => {
Some(Action::Navigation(NavigationAction::PageDown))
}
KeyCode::PageUp | KeyCode::Char('b') => {
Some(Action::Navigation(NavigationAction::PageUp))
}
KeyCode::PageDown => Some(Action::Navigation(NavigationAction::PageDown)),
KeyCode::PageUp => Some(Action::Navigation(NavigationAction::PageUp)),
KeyCode::F(1) => Some(Action::Navigation(NavigationAction::Help)),
KeyCode::Char(key) => Some(Action::Search(SearchAction::Insert(key))),
KeyCode::Backspace => Some(Action::Search(SearchAction::RemoveLeft)),
Expand Down

0 comments on commit ec3ad27

Please sign in to comment.