diff options
author | Aaron LI <aly@aaronly.me> | 2017-11-03 18:25:35 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-11-03 18:25:35 +0800 |
commit | 61a2aeeadfecd2a9f57a2727e63123f96e09d846 (patch) | |
tree | ddabf37c5a306c600af3e58e23f336f1a9f72127 /cli/colortest.lua | |
parent | 3e11b2841e85a9d82d88d463479a5e0ff49a7a27 (diff) | |
download | atoolbox-61a2aeeadfecd2a9f57a2727e63123f96e09d846.tar.bz2 |
Remove some duplicate scripts
Diffstat (limited to 'cli/colortest.lua')
-rwxr-xr-x | cli/colortest.lua | 22 |
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 |