Skip to content
Myr

Rename variables

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 86a66da · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:fzf+4 added-4 removed
80 unmodified lines
81 @extended = nil82 @mouse = true83 @filter = nil84 @pending = nil85 @mutex = Mutex.new8586 argv =87 if opts = ENV['FZF_DEFAULT_OPTS']88 require 'shellwords'
39 unmodified lines
128 end129130 @source = source.clone131 @mtx = Mutex.new132 @rmtx = Mutex.new133 @cv = ConditionVariable.new134 @events = {}135 @new = []136 @queue = Queue.new
584 unmodified lines
721 def start_renderer722 Thread.new do723 begin724 while blk = @queue.shift725 @mutex.synchronize do725 @rmtx.synchronize do726 blk.call727 refresh728 end729 end
49 unmodified lines
779 ch.is_a?(String) && ch =~ /[[:print:]]/ && ch780 end781782 def getch_nb783 @mutex.synchronize { C.getch }783 @rmtx.synchronize { C.getch }784 end785786 def getch787 if pending = @pending
86 unmodified lines
874 render { print_input }875876 case ch = getch877 when C::KEY_MOUSE878 if m = @mutex.synchronize { C.getmouse }878 if m = C.getmouse879 st = m.bstate880 if test_mouse(st, C::BUTTON1_PRESSED, C::BUTTON1_RELEASED)881 if m.y == cursor_y882 # TODO Wide-characters
195 unmodified lines