about summary refs log tree commit diff stats
path: root/html/070table.mu.html
Commit message (Expand)AuthorAgeFilesLines
* 4891Kartik Agaram2018-12-301-0/+1
* 4890 - new html renderingsKartik Agaram2018-12-291-14/+9
* 4814Kartik Agaram2018-12-011-11/+14
* 4539Kartik Agaram2018-09-071-7/+7
* 4447Kartik Agaram2018-07-271-3/+3
* 4242 - get rid of refcounts entirelyKartik Agaram2018-05-121-8/+8
* 4239Kartik Agaram2018-05-081-5/+5
* 4200Kartik K. Agaram2018-01-271-26/+26
* 4199Kartik K. Agaram2018-01-251-43/+42
* 4161Kartik K. Agaram2017-12-151-6/+6
* 4134 - 'input' = 'ingredient'Kartik K. Agaram2017-12-031-4/+4
* 3934Kartik K. Agaram2017-06-201-8/+8
* 3830 - crosslink shape-shifting containers in htmlKartik K. Agaram2017-04-181-15/+15
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-3/+4
* 3761Kartik K. Agaram2017-03-071-14/+15
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-16/+16
* 3710Kartik K. Agaram2016-12-261-109/+109
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-112/+136
* 3688Kartik K. Agaram2016-11-251-0/+4
* 3621Kartik K. Agaram2016-11-041-2/+2
* 3619Kartik K. Agaram2016-10-311-6/+25
* 3618Kartik K. Agaram2016-10-311-2/+2
* 3617Kartik K. Agaram2016-10-311-21/+21
* 3613Kartik K. Agaram2016-10-311-6/+5
* 3569Kartik K. Agaram2016-10-231-34/+34
* 3431Kartik K. Agaram2016-09-301-6/+6
* 3430Kartik K. Agaram2016-09-281-7/+7
* 3395Kartik K. Agaram2016-09-171-22/+22
* 3355Kartik K. Agaram2016-09-151-2/+2
* 3158Kartik K. Agaram2016-07-271-0/+125
locale import setlocale, LC_ALL from optparse import OptionParser, SUPPRESS_HELP from ranger.fm import FM from ranger.environment import Environment from ranger.gui.defaultui import DefaultUI as UI from ranger.fsobject.file import File setlocale(LC_ALL, 'en_US.utf8') os.stat_float_times(True) # Parse options parser = OptionParser( usage = USAGE, version = 'ranger ' + __version__ ) # Instead of using this directly, use the embedded # shell script by running ranger with: # source /path/to/ranger /path/to/ranger parser.add_option( '--cd-after-exit', action = 'store_true', dest = 'cd_after_exit', help = SUPPRESS_HELP ) args, rest = parser.parse_args() if args.cd_after_exit: sys.stderr = sys.__stdout__ if rest[0] == sys.argv[0]: del rest[0] # Initialize objects target = ' '.join(rest) if target: if not os.access(target, os.F_OK): print("File or directory doesn't exist: %s" % target) sys.exit(1) elif os.path.isfile(target): thefile = File(target) FM().execute_file(thefile) sys.exit(0) else: path = target else: path = '.' Environment(path) try: my_ui = UI() my_fm = FM(ui = my_ui) # Run the file manager my_fm.initialize() my_ui.initialize() my_fm.loop() finally: # Finish, clean up if 'my_ui' in vars(): my_ui.destroy() if args.cd_after_exit: try: sys.__stderr__.write(my_fm.env.pwd.path) except: pass