aboutsummaryrefslogtreecommitdiff
path: root/src/tui
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui')
-rw-r--r--src/tui/popup.rs2
-rw-r--r--src/tui/ui.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/tui/popup.rs b/src/tui/popup.rs
index 9011a3b..08abfb0 100644
--- a/src/tui/popup.rs
+++ b/src/tui/popup.rs
@@ -28,6 +28,7 @@ pub enum PopupKind {
Help,
Message,
Selection,
+ Search,
}
#[derive(Debug, Default)]
@@ -47,6 +48,7 @@ impl PopupArea {
("TAB: ", "Toggle areas (Entries, Keywords)"),
("/|Ctrl+f: ", "Enter search mode"),
("q|Ctrl+c: ", "Quit bibiman"),
+ ("?: ", "Show help"),
("Entry Table", "sub"),
("j,k|↓,↑: ", "Select next/previous entry"),
("h,l|←,→: ", "Select next/previous column"),
diff --git a/src/tui/ui.rs b/src/tui/ui.rs
index fed893f..c1fa658 100644
--- a/src/tui/ui.rs
+++ b/src/tui/ui.rs
@@ -210,7 +210,7 @@ pub fn render_header(frame: &mut Frame, rect: Rect) {
}
pub fn render_footer(app: &mut App, frame: &mut Frame, rect: Rect) {
- match &app.bibiman.current_area {
+ match app.bibiman.current_area {
CurrentArea::SearchArea => {
let search_title = {
match app.bibiman.former_area {