diff options
| author | lukeflo | 2024-10-05 22:54:22 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-05 22:54:22 +0200 |
| commit | b97b9c1eb64cb4c22724293a36f488b46354a3ee (patch) | |
| tree | b965da29f741715550624a9f77e7c3cac9728583 /src/frontend/ui.rs | |
| parent | eeb8f1b39d965157ed3ea5f7bffae421cce435b3 (diff) | |
| download | bibiman-b97b9c1eb64cb4c22724293a36f488b46354a3ee.tar.gz bibiman-b97b9c1eb64cb4c22724293a36f488b46354a3ee.zip | |
move search fn to entries.rs
Diffstat (limited to 'src/frontend/ui.rs')
| -rw-r--r-- | src/frontend/ui.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/frontend/ui.rs b/src/frontend/ui.rs index 8974a86..3246145 100644 --- a/src/frontend/ui.rs +++ b/src/frontend/ui.rs @@ -45,7 +45,7 @@ const SELECTED_STYLE: Style = Style::new() .add_modifier(Modifier::BOLD) .add_modifier(Modifier::REVERSED); const TEXT_FG_COLOR: Color = Color::Indexed(252); -const TEXT_UNSELECTED_FG_COLOR: Color = Color::Indexed(250); +const TEXT_UNSELECTED_FG_COLOR: Color = Color::Indexed(245); pub const fn alternate_colors(i: usize) -> Color { if i % 2 == 0 { @@ -142,7 +142,9 @@ impl App { Span::styled("y: ", style_emph), Span::raw("yank citekey | "), Span::styled("e: ", style_emph), - Span::raw("edit entry"), + Span::raw("edit entry | "), + Span::styled("/: ", style_emph), + Span::raw("search"), ])) .block(block) .centered() |
