Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fzf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
fzf
Commits
65ae6cab
Commit
65ae6cab
authored
11 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Rename variables
parent
86a66da0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fzf
+4
-4
4 additions, 4 deletions
fzf
with
4 additions
and
4 deletions
fzf
+
4
−
4
View file @
65ae6cab
...
...
@@ -82,7 +82,6 @@ class FZF
@mouse
=
true
@filter
=
nil
@pending
=
nil
@mutex
=
Mutex
.
new
argv
=
if
opts
=
ENV
[
'FZF_DEFAULT_OPTS'
]
...
...
@@ -130,6 +129,7 @@ class FZF
@source
=
source
.
clone
@mtx
=
Mutex
.
new
@rmtx
=
Mutex
.
new
@cv
=
ConditionVariable
.
new
@events
=
{}
@new
=
[]
...
...
@@ -722,7 +722,7 @@ class FZF
Thread
.
new
do
begin
while
blk
=
@queue
.
shift
@
mute
x
.
synchronize
do
@
rmt
x
.
synchronize
do
blk
.
call
refresh
end
...
...
@@ -780,7 +780,7 @@ class FZF
end
def
getch_nb
@
mute
x
.
synchronize
{
C
.
getch
}
@
rmt
x
.
synchronize
{
C
.
getch
}
end
def
getch
...
...
@@ -875,7 +875,7 @@ class FZF
case
ch
=
getch
when
C
::
KEY_MOUSE
if
m
=
@mutex
.
synchronize
{
C
.
getmouse
}
if
m
=
C
.
getmouse
st
=
m
.
bstate
if
test_mouse
(
st
,
C
::
BUTTON1_PRESSED
,
C
::
BUTTON1_RELEASED
)
if
m
.
y
==
cursor_y
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment