aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukeflo2024-11-18 14:59:57 +0100
committerlukeflo2024-11-18 14:59:57 +0100
commit8bbce4ed6ab906274e9d02503600617c48fa2c83 (patch)
tree678e05090afa1d7c510a574bbc6b32b881ee7836
parent558712ac6741c28777f69b93ccb6b4a5e0d4ff22 (diff)
downloadbibiman-8bbce4ed6ab906274e9d02503600617c48fa2c83.tar.gz
bibiman-8bbce4ed6ab906274e9d02503600617c48fa2c83.zip
some typos
-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 4cde704..cd6c680 100644
--- a/src/tui/popup.rs
+++ b/src/tui/popup.rs
@@ -51,6 +51,7 @@ impl PopupArea {
("?: ", "Show help"),
("Entry Table", "sub"),
("j,k|↓,↑: ", "Select next/previous entry"),
+ ("Ctrl+d,Ctrl+u: ", "Select fifth-next/previous entry"),
("h,l|←,→: ", "Select next/previous column"),
("g|Home: ", "Go to first entry"),
("G|End: ", "Go to last entry"),
@@ -62,6 +63,7 @@ impl PopupArea {
("ESC: ", "Reset all lists"),
("Keyword List", "sub"),
("j,k|↓,↑: ", "Select next/previous item"),
+ ("Ctrl+d,Ctrl+u: ", "Select fifth-next/previous entry"),
("g|Home: ", "Go to first keyword"),
("G|End: ", "Go to last keyword"),
("ENTER: ", "Filter by selected keyword"),
diff --git a/src/tui/ui.rs b/src/tui/ui.rs
index af94be4..1148e57 100644
--- a/src/tui/ui.rs
+++ b/src/tui/ui.rs
@@ -252,7 +252,7 @@ pub fn render_popup(app: &mut App, frame: &mut Frame) {
let block = Block::bordered()
.title_top(" Open ".bold())
- .title_bottom(" (j,k|↓,↑) ━ (ENTER) ━ (ESC)".bold())
+ .title_bottom(" (j,k|↓,↑) ━ (ENTER) ━ (ESC) ".bold())
.title_alignment(Alignment::Center)
.style(POPUP_HELP_BOX)
.border_set(symbols::border::THICK)