Fix long item display
This commit is contained in:
1 parent
94f0c3d22b
commit
c3c94ea889
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user