init_screen must be called within render block

This commit is contained in:
Junegunn Choi 2014-01-31 15:56:37 +09:00
parent 7280e8ebc2
commit b2d2be55ef
2 changed files with 3 additions and 3 deletions

4
fzf
View File

@ -7,7 +7,7 @@
# / __/ / /_/ __/ # / __/ / /_/ __/
# /_/ /___/_/ Fuzzy finder for your shell # /_/ /___/_/ Fuzzy finder for your shell
# #
# Version: 0.7.0 (January 30, 2014) # Version: 0.7.1 (January 31, 2014)
# #
# Author: Junegunn Choi # Author: Junegunn Choi
# URL: https://github.com/junegunn/fzf # URL: https://github.com/junegunn/fzf
@ -142,7 +142,7 @@ class FZF
def start def start
$stdout.reopen($stderr) $stdout.reopen($stderr)
init_screen render { init_screen }
start_reader start_reader
start_renderer start_renderer
start_search start_search

View File

@ -1,7 +1,7 @@
# coding: utf-8 # coding: utf-8
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = 'fzf' spec.name = 'fzf'
spec.version = '0.7.0' spec.version = '0.7.1'
spec.authors = ['Junegunn Choi'] spec.authors = ['Junegunn Choi']
spec.email = ['junegunn.c@gmail.com'] spec.email = ['junegunn.c@gmail.com']
spec.description = %q{Fuzzy finder for your shell} spec.description = %q{Fuzzy finder for your shell}