From 0eb1417c84df306967c874df94b0e88a3be6abbe Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 17 Jan 2022 14:20:05 -0700 Subject: [PATCH] tmux: fix send-keys Needs the % prefix to find the pane by id refs: #1090 --- mux/src/tmux_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux/src/tmux_commands.rs b/mux/src/tmux_commands.rs index f104ddc42a9..c0761320575 100644 --- a/mux/src/tmux_commands.rs +++ b/mux/src/tmux_commands.rs @@ -301,7 +301,7 @@ impl TmuxCommand for SendKeys { for &byte in self.keys.iter() { write!(&mut s, "0x{:X} ", byte).expect("unable to write key"); } - format!("send-keys -t {} {}\r", self.pane, s) + format!("send-keys -t %{} {}\r", self.pane, s) } fn process_result(&self, _domain_id: DomainId, _result: &Guarded) -> anyhow::Result<()> {