Fix long item display
This commit is contained in:
parent
94f0c3d22b
commit
c3c94ea889
2
fzf
2
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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user