aboutsummaryrefslogtreecommitdiff
path: root/src/tui/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/ui.rs')
-rw-r--r--src/tui/ui.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs
index 2d58aec..921cbb1 100644
--- a/src/tui/ui.rs
+++ b/src/tui/ui.rs
@@ -272,7 +272,7 @@ pub fn render_popup(app: &mut App, cfg: &BibiConfig, frame: &mut Frame) {
frame.render_widget(Clear, popup_area);
frame.render_widget(&content, popup_area)
}
- Some(PopupKind::OpenRes) | Some(PopupKind::AppendToFile) => {
+ Some(PopupKind::OpenRes) | Some(PopupKind::AppendToFile) | Some(PopupKind::YankItem) => {
let list_items: Vec<ListItem> = app
.bibiman
.popup_area
@@ -285,6 +285,8 @@ pub fn render_popup(app: &mut App, cfg: &BibiConfig, frame: &mut Frame) {
" Open "
} else if let Some(PopupKind::AppendToFile) = app.bibiman.popup_area.popup_kind {
" Select file to append entry "
+ } else if let Some(PopupKind::YankItem) = app.bibiman.popup_area.popup_kind {
+ " Yank to clipboard "
} else {
" Select "
};