diff options
-rw-r--r-- | ranger/gui/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index f0f81c88..60f7a98c 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -51,7 +51,7 @@ def _setup_mouse(signal): def _in_tmux(): - return ('TMUX' in os.environ + return (os.environ.get('TMUX') and 'tmux' in get_executables()) |