diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-17 15:37:08 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-17 15:37:08 +0200 |
commit | 1a81432a550f5f4a0d638a6ef22fe6d922f71326 (patch) | |
tree | 3c315836ffd0fa659847f6c47a064cca9dfbc7c7 /colour_test | |
parent | 7151df8f8cd23993c67e6bfa7eb7d4ced7870f06 (diff) | |
download | bashlib-1a81432a550f5f4a0d638a6ef22fe6d922f71326.tar.gz bashlib-1a81432a550f5f4a0d638a6ef22fe6d922f71326.tar.bz2 bashlib-1a81432a550f5f4a0d638a6ef22fe6d922f71326.zip |
update
Diffstat (limited to 'colour_test')
-rwxr-xr-x | colour_test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/colour_test b/colour_test index 277582d..8853cff 100755 --- a/colour_test +++ b/colour_test @@ -3,10 +3,17 @@ # 256 colour functions # usage: source ~/.local/lib/pb_number -source ~/.local/lib/pb_colour +source ./pb_colour printf %b "$(pb_bg 196)$(pb_fg 254) RED $(pb_nc)\n" printf %b "$(pb_bg ABC)$(pb_fg 254) NOT RED $(pb_nc)\n" printf %b "$(pb_bg )$(pb_fg 254) NOT RED $(pb_nc)\n" + +printf %b "$(pb_ef bold) BOLD TEXT $(pb_nc)\n" +printf %b "$(pb_ef underscore) UNDERSCORE TEXT $(pb_nc)\n" +printf %b "$(pb_ef italic) ITALIC TEXT $(pb_nc)\n" +printf %b "$(pb_ef strikethrough) STRIKETHROUGH TEXT $(pb_nc)\n" +printf %b "$(pb_ef rubbish) RUBBISH TEXT $(pb_nc)\n" +printf %b "$(pb_ef dim) DIM TEXT $(pb_nc)\n" |