Skip to content
Snippets Groups Projects
Commit c3c94ea8 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix long item display

parent 94f0c3d2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
# 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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment