From edee2b753cdd08b7927213af3899f7b6f455a606 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 21 Feb 2024 14:39:03 +0900 Subject: [PATCH] fzf-tmux: Workaround for tmux 3.4 bug Close #3635 https://github.com/tmux/tmux/pull/3840 --- bin/fzf-tmux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 003fbdb..c41e755 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -95,9 +95,9 @@ while [[ $# -gt 0 ]]; do elif [[ "$size" =~ %$ ]]; then size=${size:0:((${#size}-1))} if [[ -n "$swap" ]]; then - opt="$opt -p $(( 100 - size ))" + opt="$opt -l $(( 100 - size ))%" else - opt="$opt -p $size" + opt="$opt -l $size%" fi else if [[ -n "$swap" ]]; then