aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index f7e7891..d10e4f8 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -79,6 +79,10 @@ impl App {
} else if let Some(PopupKind::MessageError) = self.bibiman.popup_area.popup_kind
{
self.bibiman.close_popup()
+ } else if let Some(PopupKind::YankItem) | Some(PopupKind::OpenRes) =
+ self.bibiman.popup_area.popup_kind
+ {
+ self.bibiman.fast_selection(cfg, key_event.code)?;
}
let command = if self.input_mode {
CmdAction::Input(InputCmdAction::parse(key_event, &self.input))