aboutsummaryrefslogtreecommitdiffstats
path: root/cli/colortest.lua
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.lua
parent3e11b2841e85a9d82d88d463479a5e0ff49a7a27 (diff)
downloadatoolbox-61a2aeeadfecd2a9f57a2727e63123f96e09d846.tar.bz2
Remove some duplicate scripts
Diffstat (limited to 'cli/colortest.lua')
-rwxr-xr-xcli/colortest.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/cli/colortest.lua b/cli/colortest.lua
deleted file mode 100755
index 8f8c95f..0000000
--- a/cli/colortest.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env lua
-
-function cl(e)
- return string.format('\27[%sm', e)
-end
-
-function print_fg(bg, pre)
- for fg = 30,37 do
- fg = pre..fg
- io.write(cl(bg), cl(fg), string.format(' %6s ', fg), cl(0))
- end
-end
-
-for bg = 40,47 do
- io.write(cl(0), ' ', bg, ' ')
- print_fg(bg, ' ')
- io.write('\n ')
- print_fg(bg, '1;')
- io.write('\n\n')
-end
-
--- Andres P