| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | widgets/spinner: fix Spinner.frame race | Simon Ser | 2019-04-27 | 1 | -12/+15 |
* | Re-render terminal on invalidate | Drew DeVault | 2019-04-15 | 1 | -4/+13 |
* | Fix segfault on :view-message for unloaded message | Tom Lebreux | 2019-04-10 | 1 | -0/+4 |
* | Lowercase MIME types while matching filters | Gokberk Yaltirakli | 2019-04-07 | 1 | -1/+2 |
* | Clear damage on each terminal.Draw call | Drew DeVault | 2019-04-05 | 1 | -0/+2 |
* | Fix wrong row due to typo | Tom Lebreux | 2019-04-05 | 1 | -1/+1 |
* | Fix infinite loop on empty DirectoryContents | Tom Lebreux | 2019-04-05 | 1 | -2/+4 |
* | Show (no messages) for empty folders | Drew DeVault | 2019-04-04 | 1 | -0/+6 |
* | Remove extra debug statement | Drew DeVault | 2019-03-31 | 1 | -1/+0 |
* | Use shell to execute filters, fix non-determinism | Drew DeVault | 2019-03-31 | 1 | -6/+3 |
* | Implement header-regex-match filters | Drew DeVault | 2019-03-31 | 1 | -1/+18 |
* | Improve error handling in message viewer | Drew DeVault | 2019-03-31 | 1 | -10/+36 |
* | Add basic filter implementation | Drew DeVault | 2019-03-31 | 1 | -16/+65 |
* | Decode messages before rendering them | Drew DeVault | 2019-03-31 | 1 | -2/+22 |
* | Make message viewer real, part two | Drew DeVault | 2019-03-31 | 2 | -11/+23 |
* | Make the message viewer real, part one | Drew DeVault | 2019-03-31 | 2 | -120/+54 |
* | Add message view commands, :close | Drew DeVault | 2019-03-30 | 1 | -0/+2 |
* | Minor refactoring to header view | Drew DeVault | 2019-03-30 | 1 | -7/+12 |
* | Fix crash on command not found | Drew DeVault | 2019-03-30 | 1 | -37/+42 |
* | Use bold instead of inverted for header names | Drew DeVault | 2019-03-30 | 1 | -2/+3 |
* | Add multipart selector mockup to msgviewer | Drew DeVault | 2019-03-30 | 1 | -7/+50 |
* | Add basic message viewer mockup | Drew DeVault | 2019-03-30 | 3 | -64/+213 |
* | Correct color of error messages | Drew DeVault | 2019-03-30 | 2 | -2/+2 |
* | Use tcell.Style.Reverse instead of black on white | Drew DeVault | 2019-03-30 | 4 | -12/+11 |
* | Implement :pipe | Drew DeVault | 2019-03-30 | 1 | -6/+14 |
* | Show deleted emails pending server ack in grey | Drew DeVault | 2019-03-30 | 1 | -0/+3 |
* | Add body fetching support code | Drew DeVault | 2019-03-29 | 2 | -1/+4 |
* | Expire status errors on input | Drew DeVault | 2019-03-21 | 3 | -6/+21 |
* | term: don't mess with cursor when unfocused | Drew DeVault | 2019-03-21 | 1 | -6/+15 |
* | Enable alt screen on built-in terminal | Drew DeVault | 2019-03-21 | 1 | -0/+1 |
* | Make terminal closure thread safe | Drew DeVault | 2019-03-21 | 1 | -1/+9 |
* | Use GetCursorPos instead of stored position | Drew DeVault | 2019-03-21 | 1 | -1/+4 |
* | Skip writes if term is closed | Drew DeVault | 2019-03-21 | 1 | -1/+1 |
* | Improve cursor handling in embedded terminal | Drew DeVault | 2019-03-21 | 2 | -8/+22 |
* | Fix cursor handling in embedded terminal | Drew DeVault | 2019-03-21 | 1 | -14/+8 |
* | Forward key events to child terminal | Drew DeVault | 2019-03-21 | 1 | -1/+135 |
* | Use : for keybindings even when ex is overridden | Drew DeVault | 2019-03-21 | 1 | -3/+9 |
* | Rig up terminal keybinding group | Drew DeVault | 2019-03-21 | 1 | -0/+2 |
* | Use user's configured ex key | Drew DeVault | 2019-03-21 | 1 | -1/+3 |
* | Add context-specific keybindings | Drew DeVault | 2019-03-21 | 1 | -8/+38 |
* | Implement :delete-message | Drew DeVault | 2019-03-20 | 2 | -0/+23 |
* | moar colors | Drew DeVault | 2019-03-17 | 1 | -4/+10 |
* | Fix scrolling issues on :select-message | Drew DeVault | 2019-03-17 | 1 | -0/+7 |
* | s/:term-close/:close/g | Drew DeVault | 2019-03-17 | 1 | -1/+0 |
* | Wrap Terminal in TermHost | Drew DeVault | 2019-03-17 | 3 | -1/+58 |
* | Add :term-close | Drew DeVault | 2019-03-17 | 2 | -12/+38 |
* | Handle terminal title, login shell | Drew DeVault | 2019-03-17 | 2 | -1/+13 |
* | Implement :next-tab, :prev-tab | Drew DeVault | #!/usr/bin/python -O
# coding=utf-8
#
# Ranger: Explore your forest of files from inside your terminal
# Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# ----------------------------------------------------------------------------
#
# An embedded shell script. It allows you to change the directory
# after you exit ranger by starting it with: source ranger ranger
"""":
if [ $1 ]; then
$@ --fail-if-run && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
else
echo "usage: source path/to/ranger.py path/to/ranger.py"
fi
return 1
"""
# Redefine the docstring, since the previous one was hijacked to
# embed a shellscript.
__doc__ = """Ranger - file browser for the unix terminal"""
# Importing the main method may fail if the ranger directory
# is neither in the same directory as this file, nor in one of
# pythons global import paths.
try:
from ranger.__main__ import main
except ImportError:
import sys
if '-d' not in sys.argv and '--debug' not in sys.argv:
print("Can't import the main module.")
print("To run an uninstalled copy of ranger,")
print("launch ranger.py in the top directory.")
else:
raise
else:
main()
|