diff options
-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? |