aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/event.rs
diff options
context:
space:
mode:
authorFernando <25850740+FernandoPicazo@users.noreply.github.com>2020-06-02 19:01:26 -0500
committerGitHub <noreply@github.com>2020-06-03 00:01:26 +0000
commite00986962367db9332611798c630b19ae572ea1b (patch)
tree9ea6d8f2ef5527b124a8a575edbfadf39322470e /alacritty/src/event.rs
parentc102e845cd96dd14fc3ea928eb3c56cf884f8f35 (diff)
downloadr-alacritty-e00986962367db9332611798c630b19ae572ea1b.tar.gz
r-alacritty-e00986962367db9332611798c630b19ae572ea1b.tar.bz2
r-alacritty-e00986962367db9332611798c630b19ae572ea1b.zip
Add whitespace after dropped file paths
Fixes #3767.
Diffstat (limited to 'alacritty/src/event.rs')
-rw-r--r--alacritty/src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index 0de130b9..c8c7e02e 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -630,7 +630,7 @@ impl<N: Notify + OnResize> Processor<N> {
},
WindowEvent::DroppedFile(path) => {
let path: String = path.to_string_lossy().into();
- processor.ctx.write_to_pty(path.into_bytes());
+ processor.ctx.write_to_pty((path + " ").into_bytes());
},
WindowEvent::CursorLeft { .. } => {
processor.ctx.mouse.inside_grid = false;