summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-06-21 01:15:30 +0200
committerhut <hut@lepus.uberspace.de>2016-06-21 01:15:40 +0200
commit87721e7125f3c211a68b4afe8614d94a84cfde07 (patch)
tree0f0884ac0a7440449ec7dbe2e46f583d4fdc8bc2 /ranger
parent610d13562e877dc0b09b5c9dc1b839118cd3b297 (diff)
downloadranger-87721e7125f3c211a68b4afe8614d94a84cfde07.tar.gz
comment style fixes
Thanks to stepshal, see #586
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/commands_sample.py2
-rw-r--r--ranger/gui/ui.py12
2 files changed, 7 insertions, 7 deletions
diff --git a/ranger/config/commands_sample.py b/ranger/config/commands_sample.py
index ea74b7d6..1386e84e 100644
--- a/ranger/config/commands_sample.py
+++ b/ranger/config/commands_sample.py
@@ -8,7 +8,7 @@
 from ranger.api.commands import *
 
 # A simple command for demonstration purposes follows.
-#------------------------------------------------------------------------------
+# -----------------------------------------------------------------------------
 
 # You can import any python module as needed.
 import os
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 200f3625..aa3f90a8 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -27,12 +27,12 @@ def _setup_mouse(signal):
         curses.mousemask(MOUSEMASK)
         curses.mouseinterval(0)
 
-        ## this line solves this problem:
-        ## If a mouse click triggers an action that disables curses and
-        ## starts curses again, (e.g. running a ## file by clicking on its
-        ## preview) and the next key is another mouse click, the bstate of this
-        ## mouse event will be invalid.  (atm, invalid bstates are recognized
-        ## as scroll-down, so this avoids an errorneous scroll-down action)
+        # This line solves this problem:
+        # If a mouse click triggers an action that disables curses and
+        # starts curses again, (e.g. running a ## file by clicking on its
+        # preview) and the next key is another mouse click, the bstate of this
+        # mouse event will be invalid.  (atm, invalid bstates are recognized
+        # as scroll-down, so this avoids an errorneous scroll-down action)
         curses.ungetmouse(0, 0, 0, 0, 0)
     else:
         curses.mousemask(0)