mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-26 17:51:58 -07:00
fzf-tmux: Workaround for tmux 3.4 bug
Close #3635 https://github.com/tmux/tmux/pull/3840
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user