Skip to content
Myr

fzf-tmux: Workaround for tmux 3.4 bug

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #3635 https://github.com/tmux/tmux/pull/3840

authored by Junegunn Choi · committed by Junegunn Choi · parent 545d577 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • https: //github.com/tmux/tmux/pull/3840

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:bin/fzf-tmux+2 added-2 removed
93 unmodified lines
94 opt="$opt ${arg:0:2}$size"95 elif [[ "$size" =~ %$ ]]; then96 size=${size:0:((${#size}-1))}97 if [[ -n "$swap" ]]; then98 opt="$opt -p $(( 100 - size ))"98 opt="$opt -l $(( 100 - size ))%"99 else100 opt="$opt -p $size"100 opt="$opt -l $size%"101 fi102 else103 if [[ -n "$swap" ]]; then104 if [[ "$arg" =~ ^.l ]]; then
137 unmodified lines