diff --git a/src/event.rs b/src/event.rs index 72cc61e6..d85fab2b 100644 --- a/src/event.rs +++ b/src/event.rs @@ -338,6 +338,11 @@ impl Processor { } processor.on_focus_change(is_focused); + }, + DroppedFile(path) => { + use input::ActionContext; + let path: String = path.to_string_lossy().into(); + processor.ctx.write_to_pty(path.into_bytes()); } _ => (), }