Clear PHP CLI output

前端 未结 10 1947
一整个雨季
一整个雨季 2020-11-29 22:15

I\'m trying to get a \"live\" progress indicator working on my php CLI app. Rather than outputting as

1Done
2Done
3Done

I would rather it c

10条回答
  •  天涯浪人
    2020-11-29 22:56

    I came across this while searching for a multi line solution to this problem. This is what I eventually came up with. You can use Ansi Escape commands. http://www.inwap.com/pdp10/ansicode.txt

    
    

提交回复
热议问题