diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-03 22:49:12 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-03 22:49:12 +0900 |
commit | c46dad465fdfeb9b33cb61ef04727423fb7bcb72 (patch) | |
tree | 8378b755a225872ece3cdf3700f54c78a7c8254d | |
parent | 0df647b2a7ac7279e04d9312f612171f4e57091c (diff) |
Fix invalid return when query string is empty
-rwxr-xr-x | fzf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -514,7 +514,7 @@ begin ctrl(:d) => proc { exit 1 if input.empty? }, ctrl(:m) => proc { @mtx.synchronize do - got = @matches.fetch(@vcursor, [])[0] + got = [*@matches.fetch(@vcursor, [])][0] end exit 0 }, |