aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/input.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-06-05 01:10:31 +0300
committerGitHub <noreply@github.com>2020-06-05 01:10:31 +0300
commitf99220f01553c6c9d36e1f4ce01c007f4d4d4cb5 (patch)
treea61843b8ffe5fc25cc3a35157bc1a4346f37d40b /alacritty/src/input.rs
parent1e32e5a5154a2e765ca0b3ab8e50e4c01bbe5d18 (diff)
downloadr-alacritty-f99220f01553c6c9d36e1f4ce01c007f4d4d4cb5.tar.gz
r-alacritty-f99220f01553c6c9d36e1f4ce01c007f4d4d4cb5.tar.bz2
r-alacritty-f99220f01553c6c9d36e1f4ce01c007f4d4d4cb5.zip
Refactor Shell, Command, and Launcher to share impl
Diffstat (limited to 'alacritty/src/input.rs')
-rw-r--r--alacritty/src/input.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs
index 01c43ecc..652f4d19 100644
--- a/alacritty/src/input.rs
+++ b/alacritty/src/input.rs
@@ -147,7 +147,9 @@ impl<T: EventListener> Execute<T> for Action {
let text = ctx.terminal_mut().clipboard().load(ClipboardType::Selection);
paste(ctx, &text);
},
- Action::Command(ref program, ref args) => {
+ Action::Command(ref program) => {
+ let args = program.args();
+ let program = program.program();
trace!("Running command {} with args {:?}", program, args);
match start_daemon(program, args) {