Remove comments

pull/4/head
Junegunn Choi 11 years ago
parent e4b0dd9ccd
commit 2d3bb638f0

3
fzf

@ -175,7 +175,6 @@ def print_input
C.clrtoeol C.clrtoeol
cprint '> ', color(:blue, true) cprint '> ', color(:blue, true)
cprint @query, color(:normal, true) cprint @query, color(:normal, true)
#cprint ' ' * C.cols, color(:normal, true)
end end
def print_info progress = true, msg = nil def print_info progress = true, msg = nil
@ -194,7 +193,6 @@ def print_info progress = true, msg = nil
progress &&= "#{prefix}#{@matches.length}/#{@count}" progress &&= "#{prefix}#{@matches.length}/#{@count}"
C.addstr progress if progress C.addstr progress if progress
C.addstr msg if msg C.addstr msg if msg
# C.addstr ' ' * (C.cols - (progress.to_s + msg.to_s).length)
end end
end end
@ -444,7 +442,6 @@ searcher = Thread.new {
else else
C.addstr line C.addstr line
end end
# C.addstr ' ' * [0, C.cols - line.length - 2].max
C.attroff basic C.attroff basic
end end

Loading…
Cancel
Save