aboutsummaryrefslogtreecommitdiffstats
path: root/cli/colortest.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-03 18:25:35 +0800
committerAaron LI <aly@aaronly.me>2017-11-03 18:25:35 +0800
commit61a2aeeadfecd2a9f57a2727e63123f96e09d846 (patch)
treeddabf37c5a306c600af3e58e23f336f1a9f72127 /cli/colortest.py
parent3e11b2841e85a9d82d88d463479a5e0ff49a7a27 (diff)
downloadatoolbox-61a2aeeadfecd2a9f57a2727e63123f96e09d846.tar.bz2
Remove some duplicate scripts
Diffstat (limited to 'cli/colortest.py')
-rwxr-xr-xcli/colortest.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/cli/colortest.py b/cli/colortest.py
deleted file mode 100755
index 2d29590..0000000
--- a/cli/colortest.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-#
-# http://askubuntu.com/questions/27314/script-to-display-all-terminal-colors
-
-import sys
-
-terse = "-t" in sys.argv[1:] or "--terse" in sys.argv[1:]
-
-for i in range(2 if terse else 10):
- for j in range(30, 38):
- for k in range(40, 48):
- if terse:
- print "\33[%d;%d;%dm%d;%d;%d\33[m " % (i, j, k, i, j, k),
- else:
- print ("%d;%d;%d: \33[%d;%d;%dm Hello, World! \33[m " %
- (i, j, k, i, j, k, ))
- print
-