2024-02-29 20:09:43 +00:00
|
|
|
diff --git i/src/swapper.rs w/src/swapper.rs
|
|
|
|
index c901f48..cbd278d 100644
|
|
|
|
--- i/src/swapper.rs
|
|
|
|
+++ w/src/swapper.rs
|
2022-04-15 01:41:22 +00:00
|
|
|
@@ -215,7 +215,7 @@ impl<'a> Swapper<'a> {
|
|
|
|
};
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
let pane_command = format!(
|
2024-02-29 20:09:43 +00:00
|
|
|
- "tmux capture-pane -J -t {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/target/release/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}",
|
|
|
|
+ "tmux capture-pane -J -t {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}",
|
2022-04-15 01:41:22 +00:00
|
|
|
active_pane_id = active_pane_id,
|
|
|
|
scroll_params = scroll_params,
|
|
|
|
height = self.active_pane_height.unwrap_or(i32::MAX),
|