diff options
author | hut <hut@lavabit.com> | 2009-07-15 16:28:57 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-15 16:28:57 +0200 |
commit | 6da5b6e34fd2eeda34533e2d01f362c929148b48 (patch) | |
tree | 3065b5ae413bdd65abd7183792e894117a3c05cf /code | |
parent | edea80531a5a2730a8b7afa1e2bcfa8447a2150d (diff) | |
download | ranger-6da5b6e34fd2eeda34533e2d01f362c929148b48.tar.gz |
removed debug stuff
Diffstat (limited to 'code')
-rw-r--r-- | code/keys.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/code/keys.rb b/code/keys.rb index 7ab65603..5876df6b 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -486,7 +486,6 @@ module Fm when '<mouse>' log mouse.bstate if mouse.click3? or mouse.click1? or mouse.doubleclick1? - log "yes" if mouse.y == 0 elsif mouse.y >= CLI.lines - @bars.size else @@ -496,27 +495,23 @@ module Fm case mouse.x when ranges[0] - log "a" descend descend if mouse.click3? @pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1 end when ranges[1] - log "b" descend if mouse.click1? @pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1 end when ranges[2] - log "c" @pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1 if mouse.doubleclick1? @buffer = '' if mouse.ctrl? then press('L') else press('l') end end when ranges[3] - log "d" @buffer = '' if mouse.ctrl? then press('L') else press('l') end if mouse.click1? and currentfile.dir? |