How to make a text blink in shell script

前端 未结 4 1772
孤街浪徒
孤街浪徒 2021-02-02 10:57

I have this piece of code below:

echo \" \\033[33mTitle of the Program\\033[0m\"

which changes the colour to yellow.

How can I make the text

4条回答
  •  暖寄归人
    2021-02-02 11:42

    As far as I can tell, it's meant to be:

    echo " \033[5mTitle of the Program\033[0m"
    

    The only change is before the title, the 33m is replaced by 5m. See Ansi Escape Codes

    Note that some systems filter out blink, because it's really annoying. Your mileage may vary.

提交回复
热议问题