Skip to content

Commit

Permalink
fzf-tmux: Workaround for tmux 3.4 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn authored and rarescosma committed Feb 26, 2024
1 parent f30e6b2 commit 5daf96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/fzf-tmux
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5daf96f

Please sign in to comment.