diff options
author | hut <hut@lavabit.com> | 2009-11-22 23:56:47 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-11-22 23:56:47 +0100 |
commit | 2b3db775535290cbbaae570dc79ed3438afe4795 (patch) | |
tree | a385d5c5a5491c4a19b77c945030ea141926de76 /ranger | |
parent | ec338c02cf3b31d2ed1438752c338bd6123f3044 (diff) | |
download | ranger-2b3db775535290cbbaae570dc79ed3438afe4795.tar.gz |
the basic loop
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ranger b/ranger new file mode 100644 index 00000000..585108b8 --- /dev/null +++ b/ranger @@ -0,0 +1,29 @@ +#!/usr/bin/python +# coding=utf-8 + +# TODO: cd after exit + +from code import debug +from code import fm +from code import ui +from code import options + +# TODO: find out the real name of this script and include files relative to here + +# TODO: Parse arguments + +# TODO: load config + +# TODO: initialize classes + +# TODO: run main loop + + +def main(): + import locale + locale.setlocale(locale.LC_ALL, 'en_US.utf8') + + fm.singleton = fm.FM(options.get()) + fm.singleton.run() + +if __name__ == "__main__": main() |