tmux: fix send-keys

Needs the % prefix to find the pane by id

refs: #1090
This commit is contained in:
Wez Furlong committed 2022-01-17 14:20:05 -07:00
1 parent 1c38c611f3
commit 0eb1417c84
1 file changed
+1 -1
+1 -1
View File
@@ -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<()> {