aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs5
1 files changed, 5 insertions, 0 deletions
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<N: Notify> Processor<N> {
}
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());
}
_ => (),
}