summary refs log tree commit diff stats
path: root/doc/print_colors.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/print_colors.py')
-rwxr-xr-xdoc/print_colors.py22
1 files changed, 11 insertions, 11 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()