Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix formatting in the help menu logic
  • Loading branch information
skrewby committed Feb 19, 2020
commit 992df8148491386bfa0b4a5fe13eb5a04f0c7eb9
4 changes: 2 additions & 2 deletions src/handlers/help_menu.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{app::App, event::Key};
use super::common_key_events;
use crate::{app::App, event::Key};

#[derive(PartialEq)]
enum Direction {
Expand Down Expand Up @@ -34,4 +34,4 @@ fn move_page(direction: Direction, app: &mut App) {
app.help_menu_page += 1;
}
app.calculate_help_menu_offset();
}
}