fidian / ansi

ANSI escape codes in pure bash - change text color, position the cursor, much more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is not --reset-all option

Hologos opened this issue · comments

Hi,

in the README, there is an example of option --reset and its equivalent. --reset-all doesn't exist.

# Reset the terminal colors, reset to the default font, move the cursor
# to row 1 column 1, and show the cursor if it was previously hidden.
# This is the same as the --reset option.
ansi --erase-display=2 --reset-all --position=1,1 --show-cursor \
    --reset-font
$ ansi --reset-all test
--reset-all test

Yes, I missed that. I've updated the documentation to use --reset-color instead. Thanks for trying out the examples and reporting the problem!