diff --git a/fzf b/fzf index 2304958..06d6e49 100755 --- a/fzf +++ b/fzf @@ -743,7 +743,8 @@ class FZF def pick sync do - [*@matches.fetch(@ycur, [])][0] + item = @matches[@ycur] + item.is_a?(Array) ? item[0] : item end end