diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f79a688..c78d3909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Shift + Backspace` now sends `^?` instead of `^H` - Default color scheme is now `Tomorrow Night` with the bright colors of `Tomorrow Night Bright` - Set IUTF8 termios flag for improved UTF8 input support +- Dragging files into terminal now adds a space after each path ### Fixed 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 Processor { }, 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;