diff --git a/fzf b/fzf index fd8172d..82aeebb 100755 --- a/fzf +++ b/fzf @@ -439,7 +439,7 @@ searcher = Thread.new { if width(line) > maxc ewidth = width(line[0...e]) # Stri.. - if ewidth <= maxc + if ewidth <= maxc - 2 line = line[0...-1] while width(line) > maxc - 2 line << '..' # ..ring diff --git a/fzf.gemspec b/fzf.gemspec index f7ec5d8..35b5457 100644 --- a/fzf.gemspec +++ b/fzf.gemspec @@ -1,7 +1,7 @@ # coding: utf-8 Gem::Specification.new do |spec| spec.name = 'fzf' - spec.version = '0.1.3' + spec.version = '0.1.4' spec.authors = ['Junegunn Choi'] spec.email = ['junegunn.c@gmail.com'] spec.description = %q{Fuzzy finder for your shell}