diff options
author | hut <hut@lavabit.com> | 2013-02-10 03:41:39 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-10 03:41:39 +0100 |
commit | 2fc163162cb450e78a7b5f557da27eb8dc778141 (patch) | |
tree | 50157d53f887c99df304b2ccfd2ed0162cfb96f0 /doc | |
parent | 184e84284d2f4e48631a4b94b87ba76126470206 (diff) | |
parent | 1a0e0a663b6b67f7e644b89ade63fb285740b6a4 (diff) | |
download | ranger-2fc163162cb450e78a7b5f557da27eb8dc778141.tar.gz |
Merge branch 'spaces'
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/print_colors.py | 22 | ||||
-rwxr-xr-x | doc/print_keys.py | 4 | ||||
-rw-r--r-- | doc/ranger.pod | 2 |
3 files changed, 14 insertions, 14 deletions
diff --git a/doc/print_colors.py b/doc/print_colors.py index c3508fa6..ce040b33 100755 --- a/doc/print_colors.py +++ b/doc/print_colors.py @@ -9,15 +9,15 @@ from curses import * @wrapper def main(win): - def print_all_colors(attr): - for c in range(0, curses.COLORS): - init_pair(c, c, -1) - win.addstr(str(c) + ' ', color_pair(c) | attr) - use_default_colors() - win.addstr("available colors: %d\n\n" % curses.COLORS) - print_all_colors(0) - win.addstr("\n\n") - print_all_colors(A_BOLD) - win.refresh() - win.getch() + def print_all_colors(attr): + for c in range(0, curses.COLORS): + init_pair(c, c, -1) + win.addstr(str(c) + ' ', color_pair(c) | attr) + use_default_colors() + win.addstr("available colors: %d\n\n" % curses.COLORS) + print_all_colors(0) + win.addstr("\n\n") + print_all_colors(A_BOLD) + win.refresh() + win.getch() diff --git a/doc/print_keys.py b/doc/print_keys.py index f87a2a40..17d2513b 100755 --- a/doc/print_keys.py +++ b/doc/print_keys.py @@ -9,6 +9,6 @@ sep = '; ' @wrapper def main(w): - while True: - w.addstr(str(w.getch()) + sep) + while True: + w.addstr(str(w.getch()) + sep) diff --git a/doc/ranger.pod b/doc/ranger.pod index 7ab59460..a06bc6ca 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -966,7 +966,7 @@ doesn't work for functions and regular expressions. Valid values are: Assigns a new value to an option, but locally for the directory given by I<path>. This means, that this option only takes effect when visiting that directory. If no path is given, uses the current directory. - + =item shell [-I<flags>] I<command> Run a shell command. I<flags> are discussed in their own section. |