diff options
author | guangzhi <xugzhi1987@gmail.com> | 2018-03-13 16:14:14 +0800 |
---|---|---|
committer | guangzhi <xugzhi1987@gmail.com> | 2018-03-13 16:14:14 +0800 |
commit | 2b4984ecd0dccdf6fc1ddf1aa63725371e9234d2 (patch) | |
tree | ecd272c70002592a78649e2641a579a359897264 /examples/plugin_new_macro.py | |
parent | 08774ba13f4c8d679dbabcd33f748b1002ee397b (diff) | |
download | ranger-2b4984ecd0dccdf6fc1ddf1aa63725371e9234d2.tar.gz |
re-organize block regarding flag t issue #1108
Changes made to rifle.py: * get `term` from `os.environ['TERMCMD']`, if failed, use `TERM` * if `term` not found in executables, fall back to `xterm` * choose `cmdflag` according to `term`, currently have 3 choices: * `-e`: tested terminals + versions: * xterm (331-1) * urxvt (9.22) * lxterminal (0.3.1-1) * konsole (17.12.2-1) * lilyterm (0.9.9.2-2) * cool-retro-term (1.0.1-1) * `-x`: * xfce4-terminal (0.8.7.1-1) * mate-terminal (1.20.0-1) * terminator (1.91-5) * gnome-terminal (3.26.2) * `--`: * gnome-terminal (3.26.2) * terminals that are found not working when tested: * pantheon-terminal (0.4.3-2): not -e or -x or --execute (people using elementary probably won't use ranger anyway). * terminology (1.1.1-1): not -e or -x * tilda (1.4.1-1): with -c tilda opens but not entering editor * kitty (0.8.0-1): don't think this has the functionality * terminals haven't tested: * st * termite (having conflicts on my system) * iterm2
Diffstat (limited to 'examples/plugin_new_macro.py')
0 files changed, 0 insertions, 0 deletions