about summary refs log tree commit diff stats
path: root/ranger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ranger.rb')
-rwxr-xr-xranger.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger.rb b/ranger.rb
index 6aa75a9e..6bb88d11 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -77,12 +77,14 @@ Signal.trap(Scheduler::UPDATE_SIGNAL) do
 end
 
 begin
+	CLI.init_mouse
 	Fm.initialize( pwd )
 	Fm.main_loop
 ensure
 	log "exiting!"
 	log ""
 	closei if CLI.running?
+	CLI.stop_mouse
 	Fm.dump
 
 	Fm.dump_pwd_to_3 if Option.cd